LeetCode Record
Ctrlk
  • Sort
  • linked list
  • Queue
  • Stack (some may involve tree map)
  • Priority Queue
  • Map/Set
  • Binary Search
  • 2 pointer (including sliding window)
  • BFS (some may be solved by union find)
    • 😅297. Serialize and Deserialize Binary Tree
    • 314 binary tree vertical order traversal
    • 🤣133 clone graph
    • 😲323 Number of Connected Components in an Undirected Graph (using union find~)
    • 😮130 surrounded regions
    • 752 open the lock
    • 😫815 Bus Routes
    • 😮542 01 Matrix
    • 1293. Shortest Path in a Grid with Obstacles Elimination
    • 417 pacific atlantic water flow
  • topological sort
  • BST binary search tree
  • DFS / Backtracking
  • DP
  • Prefix sum
  • Union find
  • Swipe Line
  • Segment tree
  • Monotonic Stack/Queue
  • Trie
  • TreeMap
  • Sessions
    • BFS
Powered by GitBook
On this page

BFS (some may be solved by union find)

😅297. Serialize and Deserialize Binary Tree314 binary tree vertical order traversal🤣133 clone graph😲323 Number of Connected Components in an Undirected Graph (using union find~)😮130 surrounded regions752 open the lock😫815 Bus Routes😮542 01 Matrix1293. Shortest Path in a Grid with Obstacles Elimination417 pacific atlantic water flow
Previous15 3sumNext297. Serialize and Deserialize Binary Tree

Last updated 2 years ago