Common Routines

Be familiar with the following routines because many linked list questions make use of one or more of these routines in the solution:

Corner cases

<aside> 💡 Tip: Clarify with the interviewer whether there can be a cycle in the list. Usually the answer is no

</aside>

Problems

Recommended LeetCode questions