Reverse Linked List, two ways

Try:
CALL
1 / 1

Code

The highlighted line runs next. The pill shows the live values in the running call.

Cost

Work done so far, and how the two solutions compare

The list

Nodes stay in place; only the next arrows change

Keyboard: ← → step, Space play or pause. Up to 7 node values (−999 to 999); leave the box empty for an empty list. Nodes are drawn in their original order, so arrows pointing left are links that have been reversed.