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