private double getMedian(int arr[],int low,int high){
        int len = high - low+1;
        if(len % 2 == 0){
            return (arr[low + len/2] + arr[low+ len/2-1])/2;
        }else{
            return arr[low+len/2];
        }
    }
http://www.geeksforgeeks.org/median-of-two-sorted-arrays/
src/com/interview/binarysearch/MedianOfTwoSortedArray.java