Solve the finding median of two sorted arrays by following MIT handout's idea, cost me more than 16 hours in total to solve this problem and all its edge cases.