Quick Select Algorithm | Efficient searching algorithm

preview_player
Показать описание
This lecture shows the working and implementation of quick select algorithm. It is very similar to quick sort algorithm with respect to partition algorithm but much faster in terms of speed. PLEASE HELP us by SUBSCRIBING to our channel. If you have any VIDEO REQUEST then do comment below and i will try to upload a video for it as soon as i can. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
Рекомендации по теме
Комментарии
Автор

It was a good explanation. But you keep confusing with smallest and largest. It's hard to follow that way. You could've just stuck with either one of them and explained the other one in the end as an additional modification.

rjkal
Автор

Super video! I applauded for $10.00 👏👏👏

tarujain
Автор

Sir, please decide whether you are talking about the smallest or the largest. Otherwise it is very confusing.

Lucas_Bazilio
Автор

at 3:58, u r saying 5th largest element? you seem to be confused

soumitramehrotra
Автор

Best Explanation found till now. Thanks!

ashutoshtrivedi
Автор

also in case of finding kth largest for that we need to ignore the left and follow the right side of the pivot element

anishapal
Автор

Very nice explanation. Only thing is that you said largest element every time instead of smallest.
Otherwise, it was a very good explanation

VishalKumar-krme
Автор

Sir, You really help a lot...
I clear all of my doubts from your videos
Thanks a lot...

devanshgoyal
Автор

Explanation was quite well but you make lots of mistakes while explaining any algorithm atleast try to check before uploading and provide correction of anything's wrong.

shubhanshusingh
Автор

Sir can u please make vedios on Greedy problems

DragonOO
Автор

What if we take one Boolean variable to track swap, which means if no swap occur that array is sorted. It will reduce worst case time complexity as well in quick select. Correct me if I am wrong.

parulkhatri
Автор

make a video on this problem < Trapping Rain Water >

CodeSuccessChronicle
Автор

This is a bit confusing, can you explain with elements greater than indices, like 23, 45, 43, 88, 93 ?

ManojKumar-hjfh
Автор

Easy explaination, thank you for the video :)

sarfarazalam
Автор

when the algo is very simple but you break your back while trying to code it...

ruchirjain
Автор

Best explanation! Simple and precise!! :)

ansaahmed
Автор

What if pivot is found less than kth value ? This case was not covered.

ankuradhey
Автор

Hi, I like the blackboard app you used. Could you please tell me its name?

zhongchuxiong
Автор

what if after the eight, there is a three before five, in this case you find a value less than the pivot value 5, do you increase the pointer i?, if so then after the exchange, the 8 will be on the left side of 5.

安西教练-v
Автор

Taking the last element as pivot is probably the worst way to explain partitioning to anyone.

netsameergm
join shbcf.ru