<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Gadfly Learn</title>
  <subtitle>Short daily exercises for technical interviews</subtitle>
  <link href="https://usegadfly.com/learn/"/>
  <link rel="self" href="https://usegadfly.com/learn/feed.xml"/>
  <id>https://usegadfly.com/learn/</id>
  <updated>2026-10-20T06:00:00Z</updated>
  <author><name>Gadfly</name></author>
  <entry>
    <title>Before you go quiet to think, say which question you are answering</title>
    <link href="https://usegadfly.com/learn/say-which-question-you-are-answering/"/>
    <id>https://usegadfly.com/learn/say-which-question-you-are-answering/</id>
    <updated>2026-10-20T06:00:00Z</updated>
    <summary>One ambiguous word, the four-number input that exposes it, and the three sentences that turn a silent pause into evidence of how you think.</summary>
  </entry>
  <entry>
    <title>Your comparator subtracts, and two large numbers sort the wrong way round</title>
    <link href="https://usegadfly.com/learn/comparator-subtraction-overflows/"/>
    <id>https://usegadfly.com/learn/comparator-subtraction-overflows/</id>
    <updated>2026-10-19T06:00:00Z</updated>
    <summary>Why a - b in a Java comparator breaks on two values that fit in an int, the input that shows it, and the sentence that replaces it.</summary>
  </entry>
  <entry>
    <title>You solved it last month and cannot start it again today</title>
    <link href="https://usegadfly.com/learn/seven-days-for-problems-you-cannot-redo/"/>
    <id>https://usegadfly.com/learn/seven-days-for-problems-you-cannot-redo/</id>
    <updated>2026-10-18T06:00:00Z</updated>
    <summary>A seven-day practice order for problems you recognise but cannot rebuild from a blank file, with what each day checks.</summary>
  </entry>
  <entry>
    <title>Your binary search forgot that the answer can be past the end</title>
    <link href="https://usegadfly.com/learn/binary-search-answer-past-the-end/"/>
    <id>https://usegadfly.com/learn/binary-search-answer-past-the-end/</id>
    <updated>2026-10-17T06:00:00Z</updated>
    <summary>A lower-bound search that passes the sample and fails on a one-element array, and the two-line invariant that makes the bounds obvious.</summary>
  </entry>
  <entry>
    <title>In a behavioral round, say the decision that was yours</title>
    <link href="https://usegadfly.com/learn/say-what-you-decided/"/>
    <id>https://usegadfly.com/learn/say-what-you-decided/</id>
    <updated>2026-10-16T06:00:00Z</updated>
    <summary>A story told as &quot;we did&quot; hides the one thing the interviewer is scoring. How to find your own decision in it and retell it with its effect.</summary>
  </entry>
  <entry>
    <title>In a code review round, lead with the defect that hurts someone</title>
    <link href="https://usegadfly.com/learn/review-lead-with-the-defect-that-hurts/"/>
    <id>https://usegadfly.com/learn/review-lead-with-the-defect-that-hurts/</id>
    <updated>2026-10-15T06:00:00Z</updated>
    <summary>A six-line caching diff with three findings, and how to rank them by who gets hurt, when it shows, and whether it can be undone.</summary>
  </entry>
  <entry>
    <title>Should the unread badge be counted when you read it or when mail arrives</title>
    <link href="https://usegadfly.com/learn/unread-badge-count-on-read-or-write/"/>
    <id>https://usegadfly.com/learn/unread-badge-count-on-read-or-write/</id>
    <updated>2026-10-14T06:00:00Z</updated>
    <summary>One small requirement, two designs, the price of each, and the single question that tells you which one to draw first.</summary>
  </entry>
  <entry>
    <title>A passing sample test is not the whole test</title>
    <link href="https://usegadfly.com/learn/passing-sample-test/"/>
    <id>https://usegadfly.com/learn/passing-sample-test/</id>
    <updated>2026-10-14T06:00:00Z</updated>
    <summary>The sample input passes, you say &quot;done&quot;, and the interviewer types an empty array. One exercise to catch the assumption you never said out loud.</summary>
  </entry>
</feed>
