Комментарии:
i have no idea what hes saying
ОтветитьThanks a lot for this video. I watched two other explanations that took slightly different routes and were confusing.
Your explanation was concise, easy to follow and to the point.
is it correct when you say when I<than j swap? isn't supposed to be if I becomes greater than j?
Ответитьmakasih lord bari
ОтветитьThanks!
Ответитьসেরা
ОтветитьWow, so elegant.
ОтветитьAbdul Bari Bhai,
For the past 3 days I was having Error in my code and wasn't able to figure it out but after seeing and implementing your algorithm, I finally sorted the Error and now my Program works perfectly.
Thank you Brother,
Lots of cheers to you 🫡
lovelyyyyy
ОтветитьVery good and simple explaination. Only mistake is that the pivot should be placed at the end of the array and should be swaped with i instead of j.
ОтветитьSir the partition algo isnt correct at the base level. I just tried coding it the while loops doesnt work as expected for smallest iteration
ОтветитьSuch a great teacher in my life one day I will be meet u sir 🙏🙏
Ответитьsir can you please explain the quicksort iteratively
Ответитьwow made it easy for me thanks
ОтветитьNice
ОтветитьThank you very much sir❤
ОтветитьI like when he stops and stares deeply into my eyes until I understand.
Ответитьthis is the best video for quick sort. Thank you
ОтветитьIf I give input as 5 4 3 2 1 to be sorted -- then partition logic will fail as we are doing
do while with just a condition A[i] <= pivot
& keep on incrementing i . this will go beyond the array boundary.? It should also have condition that i < j or i < h
Simple and easy to digest explanation.
ОтветитьSir it took me 3 months to understand this sorting technique.... But now that I found this video! I clearly understood every pin to pin detail of how it works... Thank you so much for making it so easy sir🎉
ОтветитьIt's really concise and understandable. Thanks a lot.
ОтветитьDo we nnecessary need to have a infinity value?
Ответитьin do while loop don't we need to check for bounday as well? exact algorithm gave me out of index exception with [10, 3]
ОтветитьThank you very much sir! I always dreaded quicksort from the name of it, but you explained it so beautifully!
ОтветитьThanks sir because of you I’ve cleaned my DAA exam
ОтветитьU made this algorithm quick to understand❤
ОтветитьThank you from Algeria 🇩🇿
Ответитьfucking genius
ОтветитьIf anyone had a problem where the last element in the array isn't sorted, just replace the do while loop with a regular while loop.
ОтветитьLegend
ОтветитьI applied the algorithm on the array [8 4 6 5 0 1] and it wasn't perfect until I changed the condition while(a[i]<=pivot) to while(i<j && a[i]<=pivot) Maybe I didn't get the trick behind the INFINITY. This tutorial has really demystified this topic. Kudos
ОтветитьAbdul Bari sir is a living legend of DSA
ОтветитьCan you make videos for design and analysis of algorithm?
Ответитьbless this individual
Ответить😢 Abdul Bari. That's a clear explanation. I am trying to under that speration part for 4 hours. You nailed it in 13 min
ОтветитьThank You Sir 😊
ОтветитьGreat video!
In the first do-while loop, do { i++ } while(a[i] <= pivot), it should use the less than operator (<) instead of less than or equal to (<=) to maintain correctness. This ensures that the pivot element stays in its correct position and prevents potential infinite loops if there are consecutive duplicate pivot elements.
Ye toh Abdul Bari hai, ye toh accha bacha hai, ye algorithm padhta hai, acchi baatein batata hai🤲
Ответитьthank you sir
ОтветитьI think at 10: 15, you are writing the incorrect condition. I think it should be A[i] > pivot and A[j] < pivot. Correct me if I am wrong but this could just be a typo. Thoughts?
ОтветитьThank you sir very much sir ❤
Ответитьexcellent explanation
Ответитьwe all came here after our lecture on sorting algorithms lets be real here
ОтветитьThis is an Amazing Video
Ответить