Linked lists and trees show up in coding interviews because they test something arrays don’t: whether you can keep track of references while you move through a structure. That skill matters even more now that AI writes a lot of code.
An assistant can produce a tree traversal in seconds, but someone still has to notice when it shares a nested object it should have copied, or when it recurses so deep that the call stack runs out. That someone is you.
In this course, you’ll practice two families of problems built from objects that point to other objects:
- Linked lists, where you walk from node to node, relink references in place, and use two runners at different speeds to find a middle or a loop
- Trees, where you solve a problem for each subtree and combine the answers, either with recursion or with an explicit stack or queue when the tree gets too deep or too wide
Every problem is set in a realistic web-app scenario, from play queues and redirect chains to comment threads, page trees, and org charts, and it runs in your browser on Node 26.
Your first goal is a working solution. Then a bonus test plays the interviewer’s follow-up and checks whether your solution still holds up at scale.
Along the way, you’ll review an AI-written function that copies too little, test your pattern spotting in a quiz, and finish with a mock interview scored on communication, problem solving, code quality, and testing.
What’s Included:
- 20 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 10 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: