Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Linked Lists and Hashtables

Back To Back SWE via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn fundamental data structures and algorithms through hands-on problem solving in this comprehensive tutorial covering linked lists and hashtables. Master graph cloning techniques using hashtable mappings to track node relationships and avoid infinite loops. Develop proficiency with the two-pointer technique and character frequency tracking to solve the minimum window substring problem efficiently. Explore both linear space and constant space approaches to cloning linked lists with random pointers, understanding the trade-offs between memory usage and implementation complexity. Practice the essential merge operation from merge sort by implementing the merge of two sorted linked lists. Build a complete LRU (Least Recently Used) cache system that demonstrates practical applications of both data structures working together. Strengthen your understanding of linked list manipulation through detailed explanations of both iterative and recursive approaches to reversing a singly linked list, with step-by-step breakdowns of the algorithms.

Syllabus

Clone An Undirected Graph - The Utility of Hashtable Mappings ("Clone Graph" on Leetcode)
Minimum Window Substring: Utilizing Two Pointers & Tracking Character Mappings With A Hashtable
Clone A Linked List (With Random Pointers) - Linear Space Solution & Tricky Constant Space Solution
Merge 2 Sorted Lists - A Fundamental Merge Sort Subroutine ("Merge Two Sorted Lists" on LeetCode)
Implement An LRU Cache - The LRU Cache Eviction Policy ("LRU Cache" on LeetCode)
How To Reverse A Singly Linked List | The Ultimate Explanation (Iteratively & Recursively)

Taught by

Back To Back SWE

Reviews

Start your review of Linked Lists and Hashtables

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.