Skip to content
Chethan Yadav_

$ cd ~/learn/dsa

Data Structures & Algorithms

Complexity, core data structures, sorting, searching, recursion, DP, greedy and graph algorithms.

CS Fundamentals/11 Lessons

All subjects
  1. Lesson 01 · 5 min read

    Complexity Analysis

    Big O, Omega and Theta, time and space complexity, amortized analysis and the Master Theorem for recurrences.

  2. Lesson 02 · 5 min read

    Arrays and Strings

    Static and dynamic arrays, two pointers, sliding window, prefix sums, Kadane's algorithm and core string techniques.

  3. Lesson 03 · 5 min read

    Linked Lists

    Singly, doubly and circular linked lists, fast and slow pointers, reversal, cycle detection and classic interview problems.

  4. Lesson 04 · 4 min read

    Stacks and Queues

    Stack and queue operations, deque, circular queue, monotonic stack and queue, and expression evaluation.

  5. Lesson 05 · 5 min read

    Hashing

    Hash tables, hash functions, collision resolution with chaining and open addressing, load factor, rehashing and hashing patterns.

  6. Lesson 06 · 6 min read

    Trees

    Binary trees, traversals, binary search trees, balanced trees like AVL and red-black, lowest common ancestor and segment trees.

  7. Lesson 07 · 5 min read

    Heaps and Tries

    Binary heaps, heapify, heap sort, top-k and median patterns, plus tries for prefix search and autocomplete.

  8. Lesson 08 · 6 min read

    Graphs

    Graph representations, BFS and DFS, topological sort, shortest paths with Dijkstra and Bellman-Ford, MST and union-find.

  9. Lesson 09 · 7 min read

    Sorting and Searching

    Comparison and non-comparison sorts, stability, merge sort, quick sort, counting and radix sort, binary search and its variants.

  10. Lesson 10 · 6 min read

    Recursion and Backtracking

    How recursion works, base cases, the call stack, tail recursion, divide and conquer, and backtracking for subsets, permutations and constraint problems.

  11. Lesson 11 · 6 min read

    Dynamic Programming and Greedy

    Optimal substructure, memoization vs tabulation, classic DP patterns like knapsack and LCS, and when greedy algorithms are correct.