Code
The highlighted line runs next. The pill shows the live values in the running call.
Cost
Work done so far, and how the three solutions compare
The array
Bar height = value; faded bars are ruled out
The highlighted line runs next. The pill shows the live values in the running call.
Work done so far, and how the three solutions compare
Bar height = value; faded bars are ruled out
Keyboard: ← → step, Space play or pause. Up to 14 distinct numbers from −99 to 99, forming a rotated ascending array (one ascending run, possibly cut once, like 4 5 6 1 2 3). The bars make the rotation visible as a single drop.