Change links
Rewire linked lists and prefix trees while preserving the pointer or path you still need.
Chapter contents
6 lessons- 01 Save the remaining chain before reversing the current link✓ Question
- 02 Detect a cycle with one-link and two-link moves✓ Question
- 03 Keep a link gap until the leading pointer reaches the tail✓ Question
- 04 Attach the smaller sorted frontier and advance only its source✓ Question
- 05 Share prefix paths and mark complete words separately✓ Question
- 06 Branch at wildcards and require an exact terminal match✓ Question