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)
  • topological sort
  • BST binary search tree
  • DFS / Backtracking
    • 236. Lowest Common Ancestor of a Binary Tree
    • 572 subtree of another tree
    • 987 verticle order traversal of a binary tree
    • 863 All nodes in distance k in binary tree
    • 😳1110 Delete nodes and return forest
    • 341 flatten nested list iterator
    • 😬394 decode string
    • 51 N queens
    • 🥺291 word pattern II
    • 126 word ladder II
    • 93 restore ip address
    • 22 generate parenthesis
    • 856 score of parentheses
    • 🙃301 remove invalid parentheses
    • 🤯37 solve sudoku
    • 😁212 word search II
    • 1087 brace expansion
    • 399 Evaluate Division
    • 1274 numbers of ships in a rectangle
    • 1376 Time Needed to Inform All Employees
    • 694 number of distinct islands
    • 🙁Palindrome partitioning
    • 39 combination sum
    • 40 combination sum II
    • 216 combination sum III
    • 😕377 combination sum IV
    • 90 subsets II
    • 😁47 permutation II
    • 😑698. Partition to K Equal Sum Subsets
    • 😀403 frog jump (记忆化搜索)
    • ☹️longest increasing path in matrix
    • 437 path sum III
  • DP
  • Prefix sum
  • Union find
  • Swipe Line
  • Segment tree
  • Monotonic Stack/Queue
  • Trie
  • TreeMap
  • Sessions
    • BFS
Powered by GitBook
On this page

DFS / Backtracking

236. Lowest Common Ancestor of a Binary Tree572 subtree of another tree987 verticle order traversal of a binary tree863 All nodes in distance k in binary tree😳1110 Delete nodes and return forest341 flatten nested list iterator😬394 decode string51 N queens🥺291 word pattern II126 word ladder II93 restore ip address22 generate parenthesis856 score of parentheses🙃301 remove invalid parentheses🤯37 solve sudoku😁212 word search II1087 brace expansion399 Evaluate Division1274 numbers of ships in a rectangle1376 Time Needed to Inform All Employees694 number of distinct islands🙁Palindrome partitioning39 combination sum40 combination sum II216 combination sum III😕377 combination sum IV90 subsets II😁47 permutation II😑698. Partition to K Equal Sum Subsets😀403 frog jump (记忆化搜索)☹️longest increasing path in matrix437 path sum III
Previous510 inorder successor in BST IINext236. Lowest Common Ancestor of a Binary Tree

Last updated 2 years ago