5. Longest Palindromic Substring
a common approach is to expand around the center
Read more ⟶
56. Merge Intervals
sort the intervals based on their start times, merge the two by updating the end time
Read more ⟶
20. Valid Parentheses
traverse string, use stack and close to open bracket mapping
Read more ⟶
200. Number of Islands
Every time we find a "1", we start a DFS traversal to mark all the connected "1"s.
Read more ⟶