57:00 1/n is just staying WITHIN the single integer "lucky" result. 1/n is a way to to have a thing you can move around and still sort into greater than or less than.
if it affects N then its likely not N, and you would not want to use ones or zeros for the math- just the path.
I agree with most comments saying that it's hard to follow. This lecturing style is not for me. He spends most time talking and writing, not really illustrating the concepts and ideas. Also, when you have to introduce a lecture by saying it's going to be hard, then you are doing things wrong - just like programming, if you have to comment your code with "this is hard to understand", then please try to make it simpler.
yes he is a bad teacher, i already know the material and wanted to review it, the prof here makes this all seem obscure, i cannot follow what he is saying probably because he is going by notes not taking the concepts and teaching them; just because someone is smart doesnt make them a good teacher.
if anyone thinks they cannot follow along? dont blame yourself! maybe i should do a vid on algorithms
I know what you're thinking. "Did he fire six shots or only five?" Well, to tell you the truth, in all this excitement I kind of lost track myself. But being as this is a .44 Magnum, the most powerful handgun in the world, and would blow your head clean off, you've got to ask yourself one question: Do I feel lucky? Well, do ya, punk?
What a great career path I chose to follow! All I need is a pot of coffee, a jug of ice cold water on the other side, not-so-bright light, and some not-so-loud peaceful music. Now All I need is to turn all these God-given materials into brilliant code/algorithms!
if you are not going to the linear one's, then merge sort is the best, well, qsort might be an O(n lg n) but it can sometimes touch O(n^2), and merge sort is always O(n lg n).
The quick sort is almost worst when the array is semi sorted...
57:00 1/n is just staying WITHIN the single integer "lucky" result. 1/n is a way to to have a thing you can move around and still sort into greater than or less than.
if it affects N then its likely not N, and you would not want to use ones or zeros for the math- just the path.
OctopusMagnetism 3 weeks ago
c'mon guys its just a vote. i know its on video but if youre not that One guy in the front, center- you shoulda voted. this is a good teacher.
42 minutes skin in the game. brilliant.
pivots, correct/incorrect trees, randomized quicksort= guessing lucky with independent runtime input ordering.
OctopusMagnetism 3 weeks ago
If you have some basic knowledge, it a pretty good class!
liuzxiao 5 months ago
Comment removed
2tfrooty 5 months ago
He reminds me Gorbachev without mole.
sarbasov 6 months ago in playlist MIT 6.046J / 18.410J Introduction to Algorithms (SMA 5503),
I agree with most comments saying that it's hard to follow. This lecturing style is not for me. He spends most time talking and writing, not really illustrating the concepts and ideas. Also, when you have to introduce a lecture by saying it's going to be hard, then you are doing things wrong - just like programming, if you have to comment your code with "this is hard to understand", then please try to make it simpler.
hippo42 7 months ago
yes he is a bad teacher, i already know the material and wanted to review it, the prof here makes this all seem obscure, i cannot follow what he is saying probably because he is going by notes not taking the concepts and teaching them; just because someone is smart doesnt make them a good teacher.
if anyone thinks they cannot follow along? dont blame yourself! maybe i should do a vid on algorithms
iBradleyAllen 8 months ago
why are there 2 different professors for the same class? O,O
tronulu 10 months ago
@QuasarR1 not to mention that he scares everyone with math and then ignores math and invents a solution that he fancys
gcbzzzz 1 year ago
I know what you're thinking. "Did he fire six shots or only five?" Well, to tell you the truth, in all this excitement I kind of lost track myself. But being as this is a .44 Magnum, the most powerful handgun in the world, and would blow your head clean off, you've got to ask yourself one question: Do I feel lucky? Well, do ya, punk?
cstubing 1 year ago
clearly I need to get back to prerequisites
backlashwave86 1 year ago
clearly I need to get back to prequisities
backlashwave86 1 year ago
Nothing beats lucky sort. When you actually get lucky, that is.
torgausen 1 year ago
Bubble sort Insertion sort Shell sort
Merge sort
Heapsort Quicksort Counting Sort Bucket sort
Radix sort
Distribution sort
caveman0101 1 year ago
This has been flagged as spam show
can i get d details of installation of the board system?
sureshkapare 1 year ago
can i get the details of installation of the board system?
sureshkapare 1 year ago
This has been flagged as spam show
1-Copy and Paste this message to 8 other videos
2-Go to your channel and look at you background.
It might freak you out
orangeunicorn2009 2 years ago
What a great career path I chose to follow! All I need is a pot of coffee, a jug of ice cold water on the other side, not-so-bright light, and some not-so-loud peaceful music. Now All I need is to turn all these God-given materials into brilliant code/algorithms!
Niiice..
guerrald 2 years ago 6
me too studying CS!!! really great...
zobayer1 2 years ago
But... this partition function is a Lomuto idea... Not Hoor'e
MrCfaniak 2 years ago
yah quicksort seems like the best sort algorithm.. and all this time I was using swap sort..
sspoke 2 years ago
if you are not going to the linear one's, then merge sort is the best, well, qsort might be an O(n lg n) but it can sometimes touch O(n^2), and merge sort is always O(n lg n).
The quick sort is almost worst when the array is semi sorted...
zobayer1 2 years ago
@zobayer1 scramble the array by randomize algorithm first.
hvutrong 11 months ago
This comment has received too many negative votes show
This is insane this shit.
sanshuz 3 years ago
seems pretty simple and basic to me.. nothing but programming algorithms
sspoke 2 years ago
This has been flagged as spam show
hmph! sounds like to me someone likes to smell their own shit....hmph!
dynamiz77 2 years ago
sounds to me like someone is envious of someone hmm wonder who O.o
sspoke 2 years ago
Why is he writing Quick Sort from notes? Every single student of computer science in my country knows it by heart. ;)
ghuano 3 years ago
Because rewriting is faster, believe me...
vinillum 3 years ago
because computer science isn't about remembering everything by heart
beefeetr 3 years ago 27
its about understanding it ;)
dynamiz77 2 years ago 17