What is Median of Medians algorithm for Selection Problem?

preview_player
Показать описание
The Median of Medians algorithm is a linear time algorithm to solve selection problem or to find median of an unsorted list. In this video, we construct and illustrate form scratch.

------------------
Time Stamps:

00:00 Intro
00:30 - Selection Problem
02:46 - First Idea (Quick Select Algorithm)
04:26 - Prune and Search Technique
05:45 - Approximate Median or Good Pivot
06:45 - Find Median of Medians and Analysis
09:40 - Runtime Analysis
12:16 - Illustration with an example
14:16 - Take Away
15:10 - Problems to Think About
------------------
IdeaBehind Series on Algorithms is a series of 15-20 (we'll count later) animated videos exploring, otherwise mysterious, algorithms in an intuitive perspective. Feedback and suggestions are welcome.
------------------

Bundle of thanks to Reed Mathis for background music.
Animations done in ManimGL with Huge Thanks to Grant Sanderson.
Рекомендации по теме
Комментарии
Автор

Amazing times we live in.
Dude has only 60 subs, but created a very intuitivie explaination of an algorithm. Instead of this video getting lost in the ocean of information, the video has risen to the top, just because it was the best one out there.
Like quality actually matters and anyone can add something from theirselves.

MilkywayWarrior
Автор

I know it's been a year since you've posted anything else but you should really try teaching algorithms again bro. You're so good at explaining things

abhishekmoramganti
Автор

Had to watch 3 videos before i found yours
Amazing video man, you make it seem so effortless

abhivaryakumar
Автор

You actually saved my life!
Thanks for the great explanation

chi
Автор

This video was really helpful Explaintation of algo and then problems to think about really great! Please keep making such videos

poojasawant
Автор

thank you for this video, it's really well done!

ye-xin
Автор

thanks sir, u explain very deeply, loved it, hats off to u

harshsegyan
Автор

ap ese hi samjate raho, ache log apki video dekege,

harshsegyan
Автор

can you please explain how to handle duplicates?

ShobhitChola
Автор

(at 2.41 shouldn't the cost of sorting be O(blown) as opposed to omega? nlogn is the worst case scenario for merge sort.

marskid
Автор

So it's just to find the median and from there i do quicksort and that ensures nlogn time complexity?

tachles_math
Автор

the way im watching this as a Rutgers student just trying to pass meanwhile u as a Rutgers student made the video 😭😭

apstudent
Автор

on 7:21 you are incorrect, you computed the median directly via sorting, which would take nlogn time

kushagrakasliwal
Автор

Please improve audio. You speak as if you are sleepy and un-interested

shashanksharma
join shbcf.ru