Reverse a linked list in-place using three pointers: prev, curr, and next. At each step, flip the curr node's pointer to point backward.
// tap NEXT STEP to walk through one step at a time