Top-Interview-Questions--Leetcode icon indicating copy to clipboard operation
Top-Interview-Questions--Leetcode copied to clipboard

Median of Two Sorted Arrays

Open santushtisharma10 opened this issue 4 years ago • 5 comments

Problem : Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.

Input: nums1 = [1,2], nums2 = [3,4]
Output: 2.50000
Explanation: merged array = [1,2,3,4] and median is (2 + 3) / 2 = 2.5.

santushtisharma10 avatar Oct 30 '21 07:10 santushtisharma10

@syedareehaquasar please assign me this issue

santushtisharma10 avatar Oct 30 '21 07:10 santushtisharma10

Hii @KhushbooGoel01 can you please assign this issue

AnkitPatel1999 avatar Oct 30 '21 09:10 AnkitPatel1999

go ahead @santushtisharma10 ! @AnkitPatel1999 please choose one of the languages and mention here and communicate within yourselves to divide the issue into parts! (u can use this space) happy contributions!

syedareehaquasar avatar Oct 30 '21 15:10 syedareehaquasar

I will do the C solution

santushtisharma10 avatar Oct 30 '21 16:10 santushtisharma10

Hey, I will add the optimised solution in Python.Can you please assign ?

ARYASINGHBJC avatar Oct 13 '22 02:10 ARYASINGHBJC