Cover image for Reverse a Linked List (Iteratively and Recursively)

Reverse a Linked List (Iteratively and Recursively)

renaissancetroll profile image Renaissance Troll ・1 min read

In this video you'll learn how to solve a very common interview question. Reversing a linked list is used as a weed out question by companies like Google, Amazon, Apple, and Microsoft early in the interview process. All that is required to solve it is a very basic understanding of the Linked List data structure. To make it easier to understand not only do I show the basic code, but also some drawings and a visualization tool that makes it much easier to see what's going on during recursion


markdown guide