Stdle #116 · iteration · 2026-09-30
What does puts [1, 2, 3, 5, 6, 8].chunk_while { |a, b| b… output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
puts [1, 2, 3, 5, 6, 8].chunk_while { |a, b| b == a + 1 }.to_a.inspectIteration