DFS
backtracking tips279. Perfect Squares241. Different Ways to Add Parentheses417. Pacific Atlantic Water Flow200. Number of Islands959. Regions Cut By Slashes (in the end use 200)1905. Count Sub Islands1162. As Far from Land as Possible1162 compare to 31722. Generate Parentheses129. Sum Root to Leaf Numbers425. Word Squares694. Number of Distinct Islands1254. Number of Closed Islands1020. Number of Enclaves419. Battleships in a Board711. Number of Distinct Islands IIDFS with return valueCopy of 129. Sum Root to Leaf Numbers2477. Minimum Fuel Cost to Report to the Capital2492. Minimum Score of a Path Between Two Cities
Last updated