733. Flood Fill


use dfs as in number of islands
Read more ⟶

872. Leaf-Similar Trees


dfs
Read more ⟶

938. Range Sum of BST


dfs
Read more ⟶

300. Longest Increasing Subsequence


dp, traverse array, compare current with all previous in range, update dp if current bigger than prev
Read more ⟶