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