KhushbooGoel01 / Top-Interview-Questions--Leetcode

These are codes for Top Interview Questions from Leetcode.
248 stars 139 forks source link

Median of Two Sorted Arrays #222

Open santushtisharma10 opened 2 years ago

santushtisharma10 commented 2 years ago

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 commented 2 years ago

@syedareehaquasar please assign me this issue

AnkitPatel1999 commented 2 years ago

Hii @KhushbooGoel01 can you please assign this issue

syedareehaquasar commented 2 years ago

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!

santushtisharma10 commented 2 years ago

I will do the C solution

ARYASINGHBJC commented 1 year ago

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