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