trees-graphs

    Trees & Graphs Course

    Master tree and graph algorithms for interviews, routing, search, dependencies and connected systems.

    109
    Lessons
    16
    Modules
    0/109
    Completed

    Architecture

    Array Traversal & Algorithm Lifecycle

    From input array to optimized output — through traversal, condition checks, processing and result accumulation.

    Input Array
    n elements
    Loop / Pointers
    i, j, l, r
    Condition Check
    logic
    Processing
    compute
    State Update
    best / sum
    Output
    result
    Two Pointers
    Opposite · Fast/Slow
    Sliding Window
    Fixed · Dynamic
    Binary Search
    Sorted · Rotated · Answer
    Prefix / Kadane
    Range sums · Max subarray
    Curriculum

    Enterprise learning path

    16 modules · 109 lessons

    Foundations

    0/9 complete
    1. 1
      Trees & Graphs Home
      Next up

      trees & graphs home trees & graphs home is a core trees & graphs topic used in coding interviews, production systems, and

    2. 2
      What are Trees?

      what are trees? what are trees? is a core trees & graphs topic used in coding interviews, production systems, and system design.

    3. 3
      Tree Terminology

      tree terminology tree terminology is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 4
      What are Graphs?

      what are graphs? what are graphs? is a core trees & graphs topic used in coding interviews, production systems, and system design.

    5. 5
      Graph Terminology

      graph terminology graph terminology is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 6
      Tree vs Graph

      tree vs graph tree vs graph is a core trees & graphs topic used in coding interviews, production systems, and system design.

    7. 7
      Directed vs Undirected Graphs

      directed vs undirected graphs directed vs undirected graphs is a core trees & graphs topic used in coding interviews, production systems, and

    8. 8
      Weighted vs Unweighted Graphs

      weighted vs unweighted graphs weighted vs unweighted graphs is a core trees & graphs topic used in coding interviews, production systems, and

    9. 9
      Graph Representations

      graph representations graph representations is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Binary Trees

    0/8 complete
    1. 10
      Binary Tree Introduction

      binary tree introduction binary tree introduction is a core trees & graphs topic used in coding interviews, production systems, and system design.

    2. 11
      Binary Tree Traversals

      binary tree traversals binary tree traversals is a core trees & graphs topic used in coding interviews, production systems, and system design.

    3. 12
      Preorder Traversal

      preorder traversal preorder traversal is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 13
      Inorder Traversal

      inorder traversal inorder traversal is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 14
      Postorder Traversal

      postorder traversal postorder traversal is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 15
      Level Order Traversal

      level order traversal level order traversal is a core trees & graphs topic used in coding interviews, production systems, and system design.

    7. 16
      Recursive Traversal

      recursive traversal recursive traversal is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    8. 17
      Iterative Traversal

      iterative traversal iterative traversal is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Binary Search Trees

    0/8 complete
    1. 18
      BST Introduction

      bst introduction bst introduction is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 19
      Search in BST

      search in bst search in bst is a core trees & graphs topic used in coding interviews, production systems, and system design.

    3. 20
      Insert in BST

      insert in bst insert in bst is a core trees & graphs topic used in coding interviews, production systems, and system design.

    4. 21
      Delete in BST

      delete in bst delete in bst is a core trees & graphs topic used in coding interviews, production systems, and system design.

    5. 22
      BST Validation

      bst validation bst validation is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 23
      Lowest Common Ancestor

      lowest common ancestor lowest common ancestor is a core trees & graphs topic used in coding interviews, production systems, and system design.

    7. 24
      Kth Smallest Element

      kth smallest element kth smallest element is a core trees & graphs topic used in coding interviews, production systems, and system design.

    8. 25
      BST Applications

      bst applications bst applications is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Balanced Trees

    0/7 complete
    1. 26
      AVL Trees

      avl trees avl trees is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 27
      AVL Rotations

      avl rotations avl rotations is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 28
      Red Black Trees

      red black trees red black trees is a core trees & graphs topic used in coding interviews, production systems, and system design.

    4. 29
      B Trees

      b trees b trees is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 30
      B+ Trees

      b+ trees b+ trees is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 31
      Segment Trees

      segment trees segment trees is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    7. 32
      Fenwick Trees

      fenwick trees fenwick trees is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Heaps

    0/8 complete
    1. 33
      Heap Introduction

      heap introduction heap introduction is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 34
      Min Heap

      min heap min heap is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 35
      Max Heap

      max heap max heap is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 36
      Heap Operations

      heap operations heap operations is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 37
      Priority Queue

      priority queue priority queue is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 38
      Heapify

      heapify heapify is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the idea, the

    7. 39
      Top K Problems

      top k problems top k problems is a core trees & graphs topic used in coding interviews, production systems, and system design.

    8. 40
      Median from Data Stream

      median from data stream median from data stream is a core trees & graphs topic used in coding interviews, production systems, and

    Tries

    0/7 complete
    1. 41
      Trie Introduction

      trie introduction trie introduction is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 42
      Insert in Trie

      insert in trie insert in trie is a core trees & graphs topic used in coding interviews, production systems, and system design.

    3. 43
      Search in Trie

      search in trie search in trie is a core trees & graphs topic used in coding interviews, production systems, and system design.

    4. 44
      Prefix Matching

      prefix matching prefix matching is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 45
      Auto Complete Systems

      auto complete systems auto complete systems is a core trees & graphs topic used in coding interviews, production systems, and system design.

    6. 46
      Word Dictionary

      word dictionary word dictionary is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    7. 47
      Bitwise Trie

      bitwise trie bitwise trie is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Graph Traversals

    0/6 complete
    1. 48
      DFS Introduction

      dfs introduction dfs introduction is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 49
      Recursive DFS

      recursive dfs recursive dfs is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 50
      Iterative DFS

      iterative dfs iterative dfs is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 51
      BFS Introduction

      bfs introduction bfs introduction is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 52
      BFS Applications

      bfs applications bfs applications is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 53
      Multi-source BFS

      multi-source bfs multi-source bfs is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Shortest Path

    0/6 complete
    1. 54
      Dijkstra Algorithm

      dijkstra algorithm dijkstra algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 55
      Bellman Ford

      bellman ford bellman ford is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 56
      Floyd Warshall

      floyd warshall floyd warshall is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 57
      0-1 BFS

      0-1 bfs 0-1 bfs is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 58
      Shortest Path in DAG

      shortest path in dag shortest path in dag is a core trees & graphs topic used in coding interviews, production systems, and

    6. 59
      A* Algorithm

      a* algorithm a* algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Minimum Spanning Tree

    0/5 complete
    1. 60
      MST Introduction

      mst introduction mst introduction is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 61
      Prim's Algorithm

      prim's algorithm prim's algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 62
      Kruskal's Algorithm

      kruskal's algorithm kruskal's algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 63
      Union Find

      union find union find is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 64
      Disjoint Set Union

      disjoint set union disjoint set union is a core trees & graphs topic used in coding interviews, production systems, and system design.

    Topological Sort

    0/4 complete
    1. 65
      Topological Sorting

      topological sorting topological sorting is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 66
      Kahn's Algorithm

      kahn's algorithm kahn's algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 67
      DFS Topological Sort

      dfs topological sort dfs topological sort is a core trees & graphs topic used in coding interviews, production systems, and system design.

    4. 68
      Course Schedule Problems

      course schedule problems course schedule problems is a core trees & graphs topic used in coding interviews, production systems, and system design.

    Advanced Graphs

    0/10 complete
    1. 69
      Strongly Connected Components

      strongly connected components strongly connected components is a core trees & graphs topic used in coding interviews, production systems, and system design.

    2. 70
      Kosaraju Algorithm

      kosaraju algorithm kosaraju algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 71
      Tarjan Algorithm

      tarjan algorithm tarjan algorithm is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 72
      Bridges in Graphs

      bridges in graphs bridges in graphs is a core trees & graphs topic used in coding interviews, production systems, and system design.

    5. 73
      Articulation Points

      articulation points articulation points is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 74
      Euler Path

      euler path euler path is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    7. 75
      Euler Circuit

      euler circuit euler circuit is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    8. 76
      Hamiltonian Path

      hamiltonian path hamiltonian path is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    9. 77
      Hamiltonian Cycle

      hamiltonian cycle hamiltonian cycle is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    10. 78
      Bipartite Graphs

      bipartite graphs bipartite graphs is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Backtracking

    0/5 complete
    1. 79
      N Queens

      n queens n queens is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 80
      Rat in a Maze

      rat in a maze rat in a maze is a core trees & graphs topic used in coding interviews, production systems, and

    3. 81
      Sudoku Solver

      sudoku solver sudoku solver is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 82
      Graph Coloring

      graph coloring graph coloring is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 83
      Word Search

      word search word search is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Tree DP

    0/5 complete
    1. 84
      Tree DP Introduction

      tree dp introduction tree dp introduction is a core trees & graphs topic used in coding interviews, production systems, and system design.

    2. 85
      Diameter of Tree

      diameter of tree diameter of tree is a core trees & graphs topic used in coding interviews, production systems, and system design.

    3. 86
      Maximum Path Sum

      maximum path sum maximum path sum is a core trees & graphs topic used in coding interviews, production systems, and system design.

    4. 87
      DP on Trees

      dp on trees dp on trees is a core trees & graphs topic used in coding interviews, production systems, and system design.

    5. 88
      Re-rooting Technique

      re-rooting technique re-rooting technique is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    System Design

    0/6 complete
    1. 89
      File Systems

      file systems file systems is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    2. 90
      Social Networks

      social networks social networks is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    3. 91
      Routing Systems

      routing systems routing systems is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    4. 92
      Recommendation Engines

      recommendation engines recommendation engines is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    5. 93
      Dependency Resolution

      dependency resolution dependency resolution is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    6. 94
      Search Engines

      search engines search engines is a core trees & graphs topic used in coding interviews, production systems, and system design. learn the

    Projects

    0/7 complete
    1. 95
      Auto Complete Engine

      auto complete engine auto complete engine is a portfolio project that turns trees & graphs interview patterns into a real product-style system.

    2. 96
      URL Router

      url router url router is a portfolio project that turns trees & graphs interview patterns into a real product-style system.

    3. 97
      Social Network Friend Graph

      social network friend graph social network friend graph is a portfolio project that turns trees & graphs interview patterns into a real

    4. 98
      Navigation System

      navigation system navigation system is a portfolio project that turns trees & graphs interview patterns into a real product-style system.

    5. 99
      Spell Checker

      spell checker spell checker is a portfolio project that turns trees & graphs interview patterns into a real product-style system.

    6. 100
      Dependency Resolver

      dependency resolver dependency resolver is a portfolio project that turns trees & graphs interview patterns into a real product-style system.

    7. 101
      Recommendation System

      recommendation system recommendation system is a portfolio project that turns trees & graphs interview patterns into a real product-style system.

    Interview

    0/8 complete
    1. 102
      Trees & Graphs Interview Bank

      trees graphs interview questions binary trees bst heaps tries dfs bfs shortest path dijkstra mst topological sort advanced graphs tree dp faang

    2. 103
      Trees Interview (0-2 Years)

      trees interview (0-2 years) trees interview (0-2 years) is a core trees & graphs topic used in coding interviews, production systems, and

    3. 104
      Trees Interview (3-5 Years)

      trees interview (3-5 years) trees interview (3-5 years) is a core trees & graphs topic used in coding interviews, production systems, and

    4. 105
      Graph Interview (0-2 Years)

      graph interview (0-2 years) graph interview (0-2 years) is a core trees & graphs topic used in coding interviews, production systems, and

    5. 106
      Graph Interview (3-5 Years)

      graph interview (3-5 years) graph interview (3-5 years) is a core trees & graphs topic used in coding interviews, production systems, and

    6. 107
      FAANG Trees Interview

      faang trees interview faang trees interview is a core trees & graphs topic used in coding interviews, production systems, and system design.

    7. 108
      FAANG Graph Interview

      faang graph interview faang graph interview is a core trees & graphs topic used in coding interviews, production systems, and system design.

    8. 109
      Staff Engineer Interview

      staff engineer interview staff engineer interview is a core trees & graphs topic used in coding interviews, production systems, and system design.