1 > take pivot as V 2 > pointer P & Q > compare pivot with P and Q P To Q compare with V Q to P Compare with V If V < Q .. Go for next elements If V > Q Swap P & Q #Note if V < P and V > Q Swap V and P #Use + ♾️
@@sachinsahu0471 To one on one class me doubts clear tbhi hote hain. Reply aane ka wait nhii krna pdta😑😑😑 and moreover he is smart and I like his way of reaching.
Sir mene ugc net ke liye online course लिया h किसी or se. par jab bhi wahan problem ati h to सिर्फ apka hi samajh me Ata h वो bhi ek baar me hi. Thanks a lot sir.
I have no idea about this language. its hard to speak. But I understood everything what he explained. Thank you very much. Teaching has not a language. Teaching is an art.
I am just amazed how simply and beautifully this guy explained quick sort in such a short time. My exam prep got a little bit clear after watching this video.
Sir just wanted to tell you that today was my data structure's paper and it is all because of you that I managed to attend all of the questions.Thankyou so much sir...
Sir i must say that the way you taught this lecture is amazing. iv searched a lot to find the best explanation of quick sort but failed. you literally nailed it
I did my B.tech in 2013. At that time there were not too much Instructors on You tube. But luckily I am doing my Masters in Computer Science and I came across this Channel. I really appreciate Varun Sir for all of his efforts.
hardest topic i want to learn from you.. thanks a lot for frequent video before gate..thanks a lot..appreciate your hard work..God bless you and your little daughter..and family. thanks a lot
@@GateSmashers Describe precisely the pivot step of QuickSort, using the median-of-three method for pivot selection, and show every stage of the rst pivot step applied to the array with the following entries: 3; 4; 7; 1; 2; 6; 5
Fantastic explanation of the topic.Tomorrow is my test for PhD entrance.I think i will be able to explain better after watching this video of yours.Thanks a lot
You are the life saver man ,how u teaches is amazing and so understandable , i wish college teachers could make us understand like this ,thanks for all the videos .
Wow! Sir amazing ur explanation is mind blowing I'm a cs student but never felt such topics interesting bt today same lecture was explained by my mam in class my mind was out of it bt when I saw ur video i'm feeling to learn many such topics🙏tq sm sir😊
This guyy is amazing.... I've seen all his videos related to DBMS subject....and i can say he is one of the reason for me in getting gud mrks🖤 Thanku!!
so nicely expalined i was confused but you cleared all confusion thank you sir .....Keep making videos Learning lots of topics from GATE SMASHER. And dont know how you get knowledge of almost all subjects
Sir, I want to thank you from the bottom of my heart 🙏 apse main bohat topic easily sikha hun..itne acche se apne hum sab ko bina dekh kar easy method me sikhate hain isse bohat help hota hain ❤🙏Thank you sir
I was never able to understand Quick Sort till I saw this video.Thankyouuu soo much sir!!! You are a blessing to us engineering students. God Bless You!!
THANK YOU SO MUCH🥲😇 I hve examz on monday i have learnt many of the concepts from ur channel itself for my 5 th sem ......Thank you so much for making the concepts so clear by ur teachings and real time examples with it!!!!😇
SIR I AM FROM PAKISTAN AND BIG FAN OF YOUR TEACHING METHOD AND MY TEST FOR LECTURER IS GOING TO HELD SOON AND I NEED PRACTICE PROBLEM OF O.S SUBJECT AND I HAVE LISTEN ALL LECTURE VIDEO THERE WERE SOME BUT I NEED MORE FOR PRACTICE AS SPSC(TEST CONDUCTING INSTITUTION) IS MORE FOCUSED ABOUT PROBLEMS BASED QUESTION. SO YOU CAN HELP ME IN THIS REGARD ? AND KEEP GOING ON SIR WELL WISHES FOR YOU
according to this example.. int partition(int low, int high) { int pivot = a[low]; int i = low; int j = high--; while (i < j) { for (i++; a[i] < pivot; i++); for (j--; a[j] > pivot; j--); if (i < j) swap(i, j); } swap(j,low); return j; } right?
Hello Sir..Your Explanation is very good but i don't got how to choose pivot element? Can we randomly choose pivot element from given array? Or we need to take 1st element only?
Just subscribed the channel 👍 thanks a lot sir !!! you helped me a lot in my ppt orientation about quick sort ❤ i provided the link to this channel hope students may also join this wonderful journey ❤🙏 thank you so much ....
The best part of your videos is they're not so Long 😭...how simply and easily you explain everything
Truee Truee😭(I've my exam in 2 hours)
me watching that in 1.5x
Meanwhile, Professors of University/College struggling to explain it to students even after using technical terms and taking two hours time.
1 > take pivot as V
2 > pointer P & Q
> compare pivot with P and Q
P To Q compare with V
Q to P Compare with V
If V < Q .. Go for next elements
If V > Q Swap P & Q
#Note if V < P and V > Q
Swap V and P
#Use + ♾️
👍👍
Thncu❤❤
Swap V and Q ,*notP
@@piratesgamingyt2733 yep i am thinking same 😅
@@sonubutt8340 bro galat ha vo shayad
I wish we had teachers like you in our college 😍😍
To you tube dekha kro.. Teachers sabko pdhane ke liye hote hain .... Sirf aapke college ke student ko hi nhi
Realy
@@sachinsahu0471 To one on one class me doubts clear tbhi hote hain. Reply aane ka wait nhii krna pdta😑😑😑 and moreover he is smart and I like his way of reaching.
from which college your are??
@@BlendItPretty it may be but I believe in one night fight.... And if these types of teacher Will meet to me on RUclips it's my pleasure.
Sir mene ugc net ke liye online course लिया h किसी or se. par jab bhi wahan problem ati h to सिर्फ apka hi samajh me Ata h वो bhi ek baar me hi. Thanks a lot sir.
I have no idea about this language. its hard to speak. But I understood everything what he explained. Thank you very much. Teaching has not a language. Teaching is an art.
Best explained. Quick sort concept clear first time. Thank you sir.
Understood this after 3 years, only after seeing your video. Thank you
I am just amazed how simply and beautifully this guy explained quick sort in such a short time. My exam prep got a little bit clear after watching this video.
Ya padka kya karoga
Syria chala jao banduk chalna seeko tum
@@vs8645 Teri bund che banduk dede ayy
@@vs8645 bhai bta kya process hey aur payment aacha hey kya?
Great explanation! Have a mid term exam of Algorithms today! This really helped!
All the best
Sir just wanted to tell you that today was my data structure's paper and it is all because of you that I managed to attend all of the questions.Thankyou so much sir...
Best explaination... I always look for your videos only bcoz I know you will never disappoint ...Great Work Sir!!
From Which Clg?
Hi Tanu , I'm from IIT still watching the video 😉😉😉😉😉😉
@@rationalindian7516 kisine pucha 🙂
Sir i must say that the way you taught this lecture is amazing. iv searched a lot to find the best explanation of quick sort but failed. you literally nailed it
Woww now I understand quick sort completely. Hats off to Gate Smashers
I did my B.tech in 2013. At that time there were not too much Instructors on You tube. But luckily I am doing my Masters in Computer Science and I came across this Channel. I really appreciate Varun Sir for all of his efforts.
Bhai kitane time ke bad masters kar rahe ho 🤔
from where have you done btech
@@AnkiitOpbehen hai re bhai nahi
SENIOR
@@AnkiitOp 2013 mei smjho 1st yr hota toh 2017 mei graduate, aur yeh comment hey 2022, mtlb bhai 5 saal se masters kr rha😂
One of the best ..
Rajasthan computer instructor
hardest topic i want to learn from you.. thanks a lot for frequent video before gate..thanks a lot..appreciate your hard work..God bless you and your little daughter..and family. thanks a lot
Thank you so much..Bless you
@@GateSmashers Describe precisely the pivot step of QuickSort, using the median-of-three method for
pivot selection, and show every stage of the rst pivot step applied to the array with the
following entries:
3; 4; 7; 1; 2; 6; 5
@@GateSmashers please help with question
Thanks a million Sir 🌟🙏....
Awesome Explanation.
Proud to be a part of new course what's app group which will be launching on 5 March👌🌟🌈🙏
Which course and how much fee will be?
@@kanwalkhan6121 if you have any type of group then kindly share with me, if you're student of VU then share with me vu group.
so easy method i cant beleive ki 13 mnt me muje smj agya💓💓💓💓💓sir really u are great😍😍😍😍
ohh really
Fantastic explanation of the topic.Tomorrow is my test for PhD entrance.I think i will be able to explain better after watching this video of yours.Thanks a lot
Amazing 👌👌👌
Clg must appoint teachers like u
Then I will never get bored and miss lectures.
You are the life saver man ,how u teaches is amazing and so understandable , i wish college teachers could make us understand like this ,thanks for all the videos .
Hello
SIMPLY SUPERB . DONE MY ASSIGNMENT SUCCESSFULLY THANKS FOR THE FAVOUR .KEEP ON DOING. ALL THE BEST
this man can teach any rocket science under 15 mins, im gonna anyway watch it in 2x and still understand that, hats off, he was born to he a teacher
Love from Bangladesh. I watched several videos on Quick sort but your teaching technique is Awesome, clearCut . I will watch this whole playList.
I am Also from Bangladesh
@@iamHasibulHasanJoy I'm from UIU
15 mins before exam😂
Great you had time to drop a comment even before 30 min of exam
Same 😅
No,2day before exam
My exam is in 3 hours and i am studying whole daa now
one of the best video of quick sort on youtube
thank you so much sir ji
Wonderful explanation in a confident tone and a subtle style. Maza aa gya
I watched a lot of videos, couldnt understand the logic. But this video made the logic very clear. Thanks
Sir my entire Design analysis and algorithm subject is clear only becoz of u 😍❤️
Amazing 🤩 MashaaAllah boht zyada kmalll ❤️
Wow! Sir amazing ur explanation is mind blowing I'm a cs student but never felt such topics interesting bt today same lecture was explained by my mam in class my mind was out of it bt when I saw ur video i'm feeling to learn many such topics🙏tq sm sir😊
This guyy is amazing.... I've seen all his videos related to DBMS subject....and i can say he is one of the reason for me in getting gud mrks🖤 Thanku!!
When clg staff teaches: aak is paak,paak is aak, aak paak karey pak
When youtube guys explain: understands everything
hahahah
I couldn't find the explanation of the concept apashyampamkirikiri anywhere :(
I love your teaching style sir❤mtlb kam dimag Wale ko bhi asaani se samajh me aa jaye😂love your work😘
so nicely expalined i was confused but you cleared all confusion thank you sir .....Keep making videos Learning lots of topics from GATE SMASHER.
And dont know how you get knowledge of almost all subjects
Sir, I want to thank you from the bottom of my heart 🙏 apse main bohat topic easily sikha hun..itne acche se apne hum sab ko bina dekh kar easy method me sikhate hain isse bohat help hota hain ❤🙏Thank you sir
Most useful videos at minimum time I have seen ever 💞 thanks
i saw soo many videos on quicksort.. but this video explained quicksort quickly
best explanation for quick sort...😊🙌
Bohot easily Quick Sort samjhaya Sir😊
u are soo handddsomeee😍😍i wish there can be teachers like in my class also
then join LPU
And I wish I have girls like you in my class💗🫠
Abe padhai pe dhyan de
Thank you for solve my problems in quick sort 👍
U are best teacher and teaching..👍👍👍
May every student have a teacher like you..............
Thank you Gate smashers for helping me in my preparation of backlog and regular exams 👍
The best teacher I have ever seen ♥️your way of teaching is amazing,stay blessed ❤
Your efforts are appreciable.
Best Explain with Ease .... great work Sir🙏
I was never able to understand Quick Sort till I saw this video.Thankyouuu soo much sir!!! You are a blessing to us engineering students.
God Bless You!!
best sir jii 🤩aap nhi hote ho pta niii kya hota hamara 😥 thank you very very much 🥰🥰
Great explanation sir...Thank you
Very nice sir aap bohat achha padhate ho va bohat achha bohat achha thanks sir for uploading this video
😍wonderful explanation!!
THANK YOU SO MUCH🥲😇 I hve examz on monday i have learnt many of the concepts from ur channel itself for my 5 th sem ......Thank you so much for making the concepts so clear by ur teachings and real time examples with it!!!!😇
I wish we had teachers like you in our college
Best explanation of quick sort easily understood sir
After exam 💀
Ye emoji lagunga cool laguga 💀💀
@@Robert-sb8ew chup kar bewakoof
@@Robert-sb8ew goo khake manega ke
@@Priyanshu-x5j😂😂
Ye imoji lagaunga 💀our cool dikhunga
Sir I was unable to understand this this topic 😭 but you made it very easy ❤, thank you so much sir 😭
I am in 2nd year and I tried to learn quick sort many times before this video but now I know it
From Which Clg?
@@abhirawat8649 oist
@@madhurgupta3849 good🤘,
Maza aagaya bhai
Thanks a lot sir...
Your videos are so useful
God bless you 🙏 ❤
You will get exponential successful life & happy life🙏🙏
Literally is it that simple that u taught us , our clg teacher messed up while teaching this ..tq
My exam is tommarrow of data structure and algorithm and you helped me a lot
Man nailed it❤️🔥
Great explanation 🤠...as always 👏👏👏
Bhot vdia explain kita tuc menu chngi trh samaj aa gya 👍
Thank u sir
YOU ARE GENIUS BHAIJI
Thank you sir for your efforts...... Miane aapne sare mca ke paper aapke video dekh kar hi diye ...... Thank you so much sir
Thanks, it's really helpful
your teaching method sooo good and excellent. 👍
Far better than my professor 🙂
Thanks Boss
Thank you sir. This was really helpful 🙏😊
just like sorting methods .......your teaching is also sorted........ty sir :)
Thanks alot sir for such a bful explaining or this topic u r amazing .. Gbu fr such a great hardwork and yes i must say sir u have great Personality
Bht Shandar sir ji
Excellent ☺️👍👍👍☺️
Tq brother this helped me for my seminar thanks a lot ❤️❤️
Love and support from tamil nadu❤ keep rocking bro..
lots of thank you sir for making this video in easy ways I first time understand quick sort i feel very happy
Great lectures 😍
Ap bht acha smjhaty hein or Mashallah Mashallah bht like hein
I like u sooo much ❤
Allah g hmesha khush rakhy ameen 😊
thanks you sir
Your lectures are very concise and helpful
Ur soo good in terms of teaching as well as ur looks 😳
oh achha
Inta acha samjhayen apne vaiya .... Thank you so much 😊🙏🏻
Channel >>> college education
Sir aap kitna aacha smjhate ho hats off 😮😮😮😮respect 🎉🎉🎉❤❤❤❤❤
Awesome sir..
I've my DAA preboard exam tomorrow.
- Nepal
All the best
@@GateSmashers : Thank you ))
Csit 5th sem student??
@@rajeshchaudhary6025 : Yes bro..
Now, System analysis and design's board exam 😂
Thanks sir 🙏 you're a life saver 🙌 2 ghante mei exam tha aap ne bacha liya
Love you sir from Pakistan 🇵🇰
SIR I AM FROM PAKISTAN AND BIG FAN OF YOUR TEACHING METHOD AND MY TEST FOR LECTURER IS GOING TO HELD SOON AND I NEED PRACTICE PROBLEM OF O.S SUBJECT AND I HAVE LISTEN ALL LECTURE VIDEO THERE WERE SOME BUT I NEED MORE FOR PRACTICE AS SPSC(TEST CONDUCTING INSTITUTION) IS MORE FOCUSED ABOUT PROBLEMS BASED QUESTION. SO YOU CAN HELP ME IN THIS REGARD ? AND KEEP GOING ON SIR WELL WISHES FOR YOU
thank you sir ab samajh aaya achhe se aapka video dekhne ke baad
according to this example..
int partition(int low, int high)
{
int pivot = a[low];
int i = low;
int j = high--;
while (i < j)
{
for (i++; a[i] < pivot; i++);
for (j--; a[j] > pivot; j--);
if (i < j)
swap(i, j);
}
swap(j,low);
return j;
}
right?
right
No bro
Bhut bhut thanks sir ji sara confusion dur kr dita ji❤️❤️❤️❤️
Hello Sir..Your Explanation is very good but i don't got how to choose pivot element? Can we randomly choose pivot element from given array?
Or we need to take 1st element only?
You should choorse first element every time for this approach
Great explanation once again sir 🙏🙏🙏🙏
Video starts at 02:20
excellent and simple to learn....thanks gate smashers
Just subscribed the channel 👍 thanks a lot sir !!! you helped me a lot in my ppt orientation about quick sort ❤ i provided the link to this channel hope students may also join this wonderful journey ❤🙏 thank you so much ....
Bhot badiya explain kitta tusi