1. Home
  2. Library
  3. Development
Curated Library

Data Structures and Algorithms in Python for Coding Interviews

A 20-lesson walkthrough of the core data structures (arrays, linked lists, hash tables, stacks, queues, trees, binary search trees, graphs) and classic algorithms (binary search, five sorting algorithms, recursion), each implemented in Python. Most lessons end with an exercise. It suits learners with basic Python who are preparing for coding interviews or want to see how these structures work internally.

20 lessons 6h 11m total Development English Earns YodaCoins
Lessons by codebasics on YouTube

Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.

What You'll Learn

  • Explain Big O notation and analyze the time complexity of operations on arrays, linked lists and hash tables
  • Implement a singly linked list, a hash table and a binary search tree in Python, including hash collision handling with separate chaining and linear probing
  • Use Python lists and collections.deque as stacks and queues
  • Build a general tree and a binary search tree, and perform in-order, pre-order and post-order traversals and node deletion
  • Write linear, binary and recursive binary search, and compare their performance
  • Implement bubble, insertion, selection, merge, quick (Hoare and Lomuto) and shell sort, and state their complexities
  • Describe how recursion works and write simple recursive functions

Prerequisites

  • Basic Python: functions, loops, lists, dictionaries and classes
  • Comfort writing and running small Python scripts

About the Instructor

codebasics

YouTube creator

20 lessons here 6h 11m

The lessons in this course were produced by codebasics and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and codebasics is not affiliated with YodaHut.

Visit the channel on YouTube
  • 20 lessons
  • 6h 11m of video
  • Earns YodaCoins & streaks
  • Timestamped notes
  • Free — hosted on YouTube

No certificate is issued for Library courses.