My question is with reference to Method 2 of this link. Here two equal length sorted arrays are given and we have to find the median of the two arrays merged.
This is my C# solution:
public double FindMedianSortedArrays(int[] nums1, int[] nums2) {
List sorted = new List(); if(nums1.Length>nums2.Length){ for(int i=0; i