Java · 2D arrays, searching and sorting

Counting steps

Two programs that both work can differ a thousandfold in speed, and counting steps tells you which one before you run it.