Loading
Loading
Reverse a singly linked list by reassigning one pointer at a time. The whole difficulty is that overwriting next destroys your route to the rest of the list, so it must be saved first.
Use ← → to step, Space to play or pause, and the Input button to run it on your own data.