← Back to archive

Stdle #3 · arrays · 2026-06-09

What does puts [1, 2, 3].combination(2).to_a.inspect output?

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

puts [1, 2, 3].combination(2).to_a.inspect
Arrays
4 attempts left

Answer & explanation