Step by Step Walkthrough of Reversing a Linked List in Javascript
Вставка
- Опубліковано 10 вер 2024
- In this video, we start a brand new interview pattern using LinkedLists. We build the foundation for understanding this data structure by exploring an easy interview problem.
The Challenge (Easy):
Given the head of a singly LinkedList, write a function to return the new head of the reversed LinkedList.
Video Overview:
0:32 LinkedList Overview
1:43 Problem
2:43 Approach
5:14 Coding a Javascript Solution
13:48 Recap
Please subscribe to our channel :)
Join us next week for part 2 of this pattern where we’ll walk through a more challenging problem using LinkedLists.
Additional Resources:
* Practice hundreds of real coding challenges at coderbyte.com/
* Check out our tiktoks @coderbyte