Need approach !!! If constraints is Time complexity =logn but Not nlog n Then how to find median in unsorted array for n=even ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Need approach !!! If constraints is Time complexity =logn but Not nlog n Then how to find median in unsorted array for n=even ?

5th May 2022, 7:24 AM
Srishti Jaiswal
Srishti Jaiswal - avatar
2 Answers
+ 2
Srishti Jaiswal , here is a link to stackoverflow, where this issue is discussed: https://stackoverflow.com/questions/10662013/finding-the-median-of-an-unsorted-array
5th May 2022, 9:30 AM
Lothar
Lothar - avatar
+ 1
I am talking about logarithmic time ,i guess it can't be possible to solve in logarithmic time
5th May 2022, 9:34 AM
Srishti Jaiswal
Srishti Jaiswal - avatar