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
Last updated