๐ WAYPOINT LESSON
Checkpoint: word metrics
โญโญ intermediateโณ 30 min read๐ Lesson 136 of 256
A full Q1-style question run through the eight-step workflow.
countWords is the state-machine counter (inWord flag); longestWord is the builder + seeded-best with the earliest-tie rule and the post-loop flush โ the fencepost cousin from Module 3. If your first draft failed " a b " with extra words or missed the final word, the flush was the missing obligation โ exactly what workflow step 8 catches.