EZ

Eduzan

Learning Hub

Tutorial lessons

DSA in Python

Learn DSA in Python with free step-by-step tutorials on arrays, linked lists, stacks, queues, trees, graphs, sorting, searching, and dynamic programming.

Lessons

Tutorial lessons

Lesson2025-12-10

DSA Tutorial Using Python – Complete Roadmap

Learn Data Structures and Algorithms using Python with this complete DSA tutorial roadmap. Covers arrays, stacks, queues, trees, graphs, sorting, searching, dynamic programming, greedy algorithms, and

Open module>
Lesson2025-12-10

What are Data Structures?

Learn what data structures are, explore common types and algorithms, and understand why DSA matters for efficient programming, with a Python binary search example.

Open module>
Lesson2025-12-10

Setting Up the Development Environment for Python

Set up your Python development environment for DSA with installation steps, VS Code, PyCharm, Jupyter Notebook, NumPy and introductory Python examples.

Open module>
Lesson2025-12-10

Arrays and Lists in Python

Learn arrays and lists in Python with examples covering insertion, deletion, traversal, searching, reversing, 2D arrays, matrix addition and transposition.

Open module>
Lesson2025-12-10

Stacks in Python

Learn stacks in Python using lists, with push, pop, peek and empty checks, plus examples of balanced parentheses, undo mechanisms and backtracking.

Open module>
Lesson2025-12-10

Queues in Python

Learn queues in Python with FIFO operations, collections.deque, priority queues using heapq, circular queue concepts and applications in scheduling and BFS.

Open module>
Lesson2025-12-10

Linked Lists in Python

Learn linked lists in Python, including singly, doubly and circular lists, with code for insertion, deletion, traversal and searching, plus time complexity.

Open module>
Lesson2025-12-10

Trees in Python

Learn trees in Python with binary tree implementations, traversal methods, BST insertion, searching and deletion, plus an introduction to AVL balancing.

Open module>
Lesson2025-12-10

Heaps in Python

Learn heaps in Python using heapq, with examples of min-heaps, max-heaps, insertion, deletion, heapify, priority queues, and finding the top K elements.

Open module>
Lesson2025-12-10

Graphs in Python

Learn graphs in Python with adjacency lists and matrices, BFS and DFS traversals, plus Dijkstra and Bellman-Ford shortest path algorithms with code examples.

Open module>
Lesson2025-12-10

Hashing (Hash Map) in Python

Learn hashing and hash maps in Python with dictionary operations, collision handling, frequency counting, caching, and practical examples using Counter.

Open module>
Lesson2025-12-10

Sorting Algorithms in Python

Learn sorting algorithms in Python with code examples for bubble, selection, insertion, merge, quick, and heap sort. Compare time complexity and stability.

Open module>
Lesson2025-12-10

Searching Algorithms in Python

Learn searching algorithms in Python with linear search, binary search, first and last occurrence, BST search, BFS, and DFS. Includes code and complexity.

Open module>
Lesson2025-12-10

Dynamic Programming in Python

Learn dynamic programming in Python with memoization, tabulation, and code examples for Fibonacci, 0/1 Knapsack, Longest Common Subsequence, and Coin Change.

Open module>
Lesson2025-12-10

Greedy Algorithms in Python

Learn greedy algorithms in Python with code examples for activity selection, fractional knapsack, Huffman coding, and Prim’s and Kruskal’s MST algorithms.

Open module>
Lesson2025-12-10

Recursion and Backtracking in Python

Learn recursion and backtracking in Python with base cases, call stacks, recursive binary search, and code examples for N-Queens, Sudoku, and maze solving.

Open module>
Lesson2025-12-10

Bit Manipulation in Python

Learn bit manipulation in Python with bitwise operators, bit masks, set bit counting, XOR tricks, power-of-two checks, and subset generation examples.

Open module>
Lesson2025-12-10

Divide and Conquer in Python

Learn divide and conquer in Python with merge sort, quick sort, binary search, complexity analysis, and an introduction to Strassen’s matrix multiplication.

Open module>
Lesson2025-12-10

Advanced Graph Algorithms in Python

Learn advanced graph algorithms in Python with code for topological sorting, Kosaraju’s SCC algorithm, Floyd–Warshall shortest paths, and A* grid search.

Open module>
Lesson2025-12-10

Problem-Solving Practice (LeetCode, HackerRank, Codeforces)

Build DSA problem-solving skills with LeetCode, HackerRank, and Codeforces. Follow a topic-wise roadmap, practice questions, and daily coding study plan.

Open module>