LeetCode: add two numbers, longest substring without repeating chars, median of two sorted arrays