Find the Median

  • + 3 comments

    it is taking a lot of time than alloted time by compiler(online) so use mergesort instead of quicksort [ quick has worsttime complexity of O[n^2] due to selction of pivot] mergesort has O[nlogn]