1838. Frequency of the Most Frequent Element
find the longest subarray in which the difference between the max and min
Read more ⟶
113. Path Sum II
dfs,
Read more ⟶
110. Balanced Binary Tree
dfs, compute height and check for balance
Read more ⟶
112. Path Sum
dfs, keeping track of the sum of node values. return true if the sum equals `targetSum` at any leaf
Read more ⟶