Week 3 · Day 18 of 42
Linked List: In-place Reversal and Merge / Sorted Operations
Use three pointers: prev, curr, next. Redirect curr.next to prev each step. Use a dummy node and a tail pointer. Compare heads of two lists, link the smaller one.
Checking access
Spotted a mistake on this page?
Wrong formula, broken animation or confusing wording. Tell us and we will fix it.