← Back to archive

Stdle #157 · iteration · 2026-11-10

What does this Ruby snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

result = [3, 1, 4, 1, 5, 9].minmax
puts result.inspect
Iteration
4 attempts left

Answer & explanation