merge intervals.
speed pow algorithm.
two sorted Array, find kth elements.