LeetCode - The Linked List Part

less than 1 minute read

Basically, we can use two approaches to solve linked list related problems. One is recursion, one is iteration. What we need to do is find the way we change the linked list for every node. Some dummy node and additional linked list can make problems more easier to understand.