Algorithm 1 Two Array Median
Input: two sorted array and of size
Output: the median of the total elements
1:procedure Median()
2:if then
3:return Min()
4:end if
5:if then
6:return Median()
7:else
8:return Median()
9:end if
10:end procedure