Median of two sorted array solutions

Two method to solve this problem:
  * Binary search, O(logm*logn)
  * Divide and conquer, O(log(n+m))