Thank you soo much for this amazing explanation...all my life i was afraid of these dsa concept because my college teacher considered that i cannot pass this subject...and that fear always stayed with me... today got the courage to watch this video and im glad that i did that .. thank you jenny for this wonderful explanation and removing my fear... ur an amazing teacher...we should get more such teachers like u in university... .
@JennyslecturesCSIT Жыл бұрын
Happy to help
@Anshchib_852 Жыл бұрын
Nyc
@dineshkumar-m6n8q11 ай бұрын
Me tooo 😢
@bhanuprakashreddyponguru990411 ай бұрын
@@JennyslecturesCSITwhat if the array is of even size then where should we place middle of element as pivot
@gopipitta189 ай бұрын
Yeah it's me😅
@HarmeetSingh-bk1lp2 жыл бұрын
thankyou so much mam, tomorrow is final paper of analysis and design of algorithm and your videos helped me so much. Thanks for teaching us.
@Rakesh-uz6jq2 жыл бұрын
Presidency?
@Sarkar.editsz2 жыл бұрын
Nice brother
@sourav75562 жыл бұрын
10 rupe dede
@HarmeetSingh-bk1lp2 жыл бұрын
@@sourav7556 lol
@sourav75562 жыл бұрын
@@HarmeetSingh-bk1lp dede yaar
@samhita29173 жыл бұрын
Ma'am, who gave you this talent??? I came across thousand videos, but only you who talk with a great understanding of concept. I can see it it from your eyes. I can see it from every video you uploaded. I really appreciate what you are doing here.
@Zoza09053 жыл бұрын
Yeah she just nailed it 🔥
@rickk33003 жыл бұрын
True..✨✨
@GoodBoy-eu9dw Жыл бұрын
Medium of conveyance is also English still understanding is more comfortable than Hindi medium
@infinity2creation551 Жыл бұрын
Hard work
@51-subashkrishna6Ай бұрын
😂😂😂😂😂😂😂😂
@ramaarahatekar Жыл бұрын
omg why is it always 2 days before our exams that we realise our semester's topics were actually interesting!!! Thank you so much mam.
@KenAdams-sn8yd6 ай бұрын
exactly
@vamshirallapalli55395 ай бұрын
well i find u intresting!
@ramaarahatekar5 ай бұрын
@@vamshirallapalli5539 study! 🤓
@jassiedu15985 ай бұрын
so true 😅
@Hariiissshhh5 ай бұрын
@@vamshirallapalli5539 down bad bro 👎👎
@hrishikeshpingle3 жыл бұрын
Thanks for the video ma'am. If anyone is getting out of bounds exception, just modify the first while condition as while(a[start]
@rameshvarada31603 жыл бұрын
Thanks Harishikesh Your comment must deserve min 1k likes...
@rockygoyal35983 жыл бұрын
No bro, you will still get the out of bound exception as you are using && operator, and one property of && operator is that, it stops the evaluation right where it gets the false condition. The condition should be while(start
@hrishikeshpingle3 жыл бұрын
@@rockygoyal3598 thanks for the info bro, I didn't know that... But whatever I wrote, I tried it first with many cases... I was so frustrated with that error So maybe that is true for only some specific cases... My bad.
@rockygoyal35983 жыл бұрын
@@hrishikeshpingle Not a problem man, i'm glad that my comment helped in getting the scenarios right!
@TheOne-cy3yu2 ай бұрын
Still I'm getting Out of Bound Exc. Pls help😢
@ayushpathak520511 ай бұрын
I was planning to skip this algo but thanks to you.. I don't have doubts anymore.. BEST video of this topic according to me...
@yeyouhd88023 жыл бұрын
i know i'm getting a 0 tommorow in my exam but this was worth watching, 25mn was better than a whole semester in my university
@trainwithsantosh3 жыл бұрын
appreciated!
@nirojbajracharya30513 жыл бұрын
@@trainwithsantosh Dont spoil these brats.
@hidayathali80033 жыл бұрын
It is the matter of perception bro you have to change your state of mind and start learning and positive thinking
@RAJEEVSINGH-vr6jq3 жыл бұрын
I can Feel u bro🥺😅 ... Viva Tomorrow 🙏🏻
@yakshmahawer54343 жыл бұрын
Which university bro??
@charanmc44843 жыл бұрын
Neso Academy and Jenny mam, no one's born to beat them in teaching programming so well😁😁💗
@reroyallover9169 Жыл бұрын
sagar jat ka naam suna h bsddk
@sooryanshsingh2957 Жыл бұрын
Le Abdul Bari sir: hold my calm and peaceful explanations. Bob ross of Algorithms !!
@besmartdosmart866610 ай бұрын
Exactly 💯
@LukeChippindall3 жыл бұрын
Thanks for a fantastic explanation. After watching a number of other tutorials I was still confused about some aspects of Quick Sort. Your approach and "old school" use of a whiteboard was perfect. I watched it with my 14 y/o daughter, and we both learned how the algorithm actually works, and we then spent time together coding it, enjoying the process of error debugging, and feeling of accomplishment when it worked as required.
@aniketdey84494 жыл бұрын
Some people are focusing on digital graphics for explanation, but the black-board teaching is the best way of teaching even in the future days also.
@mdkhairummonir48473 жыл бұрын
l mo kkk
@techysanan85792 жыл бұрын
White board *
@suheelhilal16142 жыл бұрын
Wah kya andhbhakt hai ...are bhai ye board ki wajah se nahi hai ye in ki skill aur easy language ki wajah se smj aata hai ...
@adityamulik3 жыл бұрын
I wish I had these lectures back when I was in college in 16. All I did was mugged up the answers and cleared my paper. Now I realise the beauty of these algorithms and how efficiently they work in their own course of action.
@MaheshMane9812 жыл бұрын
Aah.. Naa It's pretty Fun to be too.❤️ Thx for your comment
@Tbm45452 жыл бұрын
Now wht u r doing?
@sauceontoes3457 Жыл бұрын
how do you even mug up the code? It's almost impossible to memorize each and every character in the code
@southmoviesmelody Жыл бұрын
You were in college in your 16's 😂
@meha5623 Жыл бұрын
@@southmoviesmelody he means back in 2016 ofcourse 🙆🏻♀️
@sairajdas66925 жыл бұрын
Hands down the best explanation of quick sort on KZbin!
@raulshahi83165 жыл бұрын
So simply explained mam, i spent an hour trying to understand the algorithm from my note but couldnot.With your tutorial , it just became so much simple. Also I m watching all other sorts. Thank you very much mam Love and respect
@heyram89513 жыл бұрын
Would you please clear my one doubt. If ( lb< ub) then we will perform partition. Yes or no. If so the 7< 7 is not true then will we call partition or not then what to do.
@lakshminarayanans10663 жыл бұрын
@@heyram8951 And LB & UB are indexes, not values of the array. & such exception is not possible; either start will be greater than the end or vice-versa
@heyram89513 жыл бұрын
@@lakshminarayanans1066 okay. Thank you. 👍
@Teja-j4p5 ай бұрын
Waw awesome explanation mam ❤
@HosRo41619 ай бұрын
You are an amazing teacher! Clear, step-by-step, easy-to-follow. Truly an excellent teacher! Thank you.
@AbdulQadir-ni3ux5 жыл бұрын
Mam Thank you very much..... Assignment nhi Ban rahi thi lekin ap nay qasmaay Izzat baccha Lee ....... and the most important thing I actually come to understand different algorithm through your video........
@somailaftab58964 жыл бұрын
My friend suggests to me watch your videos lectures but when I watch this then i can easily understand your lecture your way of teaching is very great even that lower student can also easily understand it
@meghnak27845 жыл бұрын
maam..I am a new subscriber..Yesterday I came to watch your video to prepare for my today's lab exam ..Today I had got quicksort..and I had passed the exam with 100%output in first try itself..Thanks a lot maamm...
@mandatimanoharreddy51332 жыл бұрын
The spark in your eyes while teaching is too good which shows that how much dedicated you are towards the teaching
@omkarnagarkar66605 жыл бұрын
You are so good Seriously! The way you teach pointing out every detail and concern about the understanding capability of viewers is just exceptional. Keep up the good work.
@nirmalakshourad8994 Жыл бұрын
Legends watching one day before exams😂
@bubblecakke Жыл бұрын
did you pass your exam?
@Salmankhanstatus19 ай бұрын
Yes brother
@rizwankakroo1649 ай бұрын
Real legends
@AkulaSriyan9 ай бұрын
We are legends 😎😎😎😎
@binnypero64318 ай бұрын
Half hour bro 😢
@ravisharma39015 жыл бұрын
so so simply explained mam, i think that in my final BCA exam i am failed in data structure then i see your video's now i think i am passed in data structure. thank you very much mam.
@22vickymr94 жыл бұрын
Great work !! Your lectures make it very simple to understand. While working with your code, I did some modification and added one more check in while loop. The checks are: while (a[start] pivot) and (end > lb): end = end - 1 This will handle the worst case scenario as well.
@ayushacharya47787 ай бұрын
The intent is good, but this modification does not work as you need to check start pivot. Modification: while (start
@PrakashKumar_ArmyOfTheSaviour4 ай бұрын
@@ayushacharya4778 either way it works , it wont fail until something is messed in the quickSort logic.
@AneeshChandra5 жыл бұрын
my DS sir: u r going to fail this sem me: missing all classes of DS in clg and watching these lectures before exams to get decent cgpa and to prove sir that he was wrong mam thank u so much .....definitely sharing and subscribing for such real life avengers who make such good videos for students like us. may god bless you mam the biggest irony is that we go to clg pay fees and dont understand even a single line but here everything is crystal clear wish me luck fellas please if u r reading this by giving a thumbs up
@souravsahoo15825 жыл бұрын
Story of whole Indian enginnering student 😂😂
@AneeshChandra5 жыл бұрын
@@souravsahoo1582 true af🤘
@surajkumarsingh87925 жыл бұрын
Well my ds professor is searching to teach me but he don't know I m prepared 😏
@myth_man14264 жыл бұрын
Result kaa kya hua ?😅
@AneeshChandra4 жыл бұрын
@@myth_man1426 7 mila btw mai mere chanel pe violin covers upload krta hu sun ke batana comment karke kasa laga kindly pls vai
@thasnee56Ай бұрын
u r the real life example of "beauty and brains"... Your content is always helpful ❤❤
@muskantiwari6985 жыл бұрын
I went through many videos to understand the concept of quick sort but no use, but this video is the one which actually helped me understand quick sort.....Great work Jenny! I can see your hard work in your videos.....God bless you beautiful soul! Keep up the good work❤️
@kalyanachakravarthi27364 жыл бұрын
Quick sort is a large and complex procedure, but you explained it in a simpler way, thank you mam
@rafatulalam86774 жыл бұрын
Brilliant explanation. I finally understood how the sorting algorithm actually works both theoretically and in code implementation !
@AstrologerDeep Жыл бұрын
at Last , what a smile .... i think this is smile of hard work , smile of patience of teaching , and at last , I smiled with my cleared concept. thank you
@MohitKumar-bs9br5 жыл бұрын
Mam u r beauty with brain as well as excellent trainer. I can't understand aapse concept samjhe ya aapko dekhe . respect for you
@butterchicken85594 жыл бұрын
@Shrishti Raj no
@RajKotecha-dc3yx Жыл бұрын
Meri 25th april ko exam he esliye ab youtube pe search kia aur apka video dekha agar apka channel cource muje pehle hi mil chuka hota to muje bhut hi achhe se ho pata pr koi nhi der aye durust aye but i not only like but also love your method and personality!very Awsome..
@karthikeyanikhil88733 жыл бұрын
I am Chemical engineering student. But your lectures made me interest on c program 🙏🏻 I am really thankful for you
@akanshasingh55005 жыл бұрын
you're amazing omgg I hated sorting methods before but now everything has changed, it's all because of you, you're doing an amazing job, please don't stop!!! xxx
@kaleshbiju67534 жыл бұрын
Thanks a lot ma'am for explaining in such a simple way Theses sorting algorithms were big deal to me but now u made me it simple
@AnkitSharma-nf6kc5 жыл бұрын
The simplest way, no need to mug up... Even I can teach this now... Sharing with my classmates...!! Quite a helpful ma'am kudos and blessings from our side.
@abdulmohsin12 жыл бұрын
Awesome Video. so helpful. easy to understand. just wanted to mention one thing. we woulld need to add one more condition in the line while(a[start]
@hysem773 жыл бұрын
You have the ability to make evrything simple no matter how hard it used to be. And... you have a cute smile ☺
@shohaghossain23323 жыл бұрын
Thanks Madam...I am totally satisfied when I Follow your lectures... Lot's of Respects and Love from Bangladesh 🇧🇩
@vishalkarthik4985 жыл бұрын
i think choosing median element instead of first element will make quick sort efficient Your teaching is good ... Thanks a lot.....
@sagaryadav86705 жыл бұрын
Bhaiya mere median nikalne ke liye sort karna padta hai Kuchh pad liya karo khali time me Dimag se gareeb
@jamalwebdevelopment48414 жыл бұрын
It is good to take middle as pivot but by taking middle as pivot we can only get best case for sorted list but not for unsorted list. For unsorted still the worst case still be O(n^2).
@techrelated49503 жыл бұрын
Jo algorithm kisi or ki video me samajh nahi aata aap bhut achhe se samjha dete ho.. thankyou 😊
@vikas_katla4 жыл бұрын
Thanks mam your lecture was wonderful Today I had my exam and I rocked it .and today I came to know my data structures teacher was a subscriber of your channel . Your channel was a boon for one night batting 🏏🏏🏏 tq mam Like if agreee
@ravish59032 жыл бұрын
Thanks a lot for explaining in detail. I just got to this video on KZbin Search for quicksort algorithm. While implementing this method. There was a basic mistake and I spent a couple of hours in understanding those mistakes. In the inner while loops in Partition function, we should also check for boundary conditions. while ($i < $end && a[start] $start && a[start] > $pivot) Keep uploading these wonderful videos which explain concepts very clearly... Regards, Ravish.
@DeepakRaoGaikwad4 жыл бұрын
while (a[start]
@HarishSumant3 жыл бұрын
Thanks, you saved my time!
@farzanaashraf81363 жыл бұрын
Assalam u Alaikum !can you please tell me about '"the last swapping and return R"what should be written before these statements.please must reply.
watching ur videos mam daily already watched bubble selection and insertion sort thank u mam . 1.simple explanation 2.deep conceptual clarity. 3.no doubts left. 4.godly teaching. 5.mam u r hacker . lots of love
@getsomeknowledge30545 жыл бұрын
U r the best programming teacher .your concept is so much clear and make me understandable.aap ke Karan hm smjh paye thank you ma'am .😘😘❤️ ❤️ Keep it up😊
@guruprasath187715 күн бұрын
I'm not from a cs background but I was able to understand it well only in ya video. I have seen videos on my native language and other popular ones for 2 days. but this was the one that made me feel yes now I understand. - Thank you Jenny! Thank you for explaining it in such an order :))
@021_ashutoshrai65 жыл бұрын
Thanks it gives me a lots because i started learning C and Data structure and your videos helps me alot thanks😊
@charanmc44843 жыл бұрын
Mam thank you very much, I love the way you teach, its so understandable that even an average students understands very clearly. ab hogaya saara sorting techniques clear,love from Andhra Pradesh.
@7291ashish5 жыл бұрын
Mam due to your lecture i m capable of giving the exam of DATA STRUCTURES THROUGH C++. THANKYOU so much.
@RAHULPANDEY-ix3bf3 жыл бұрын
After watching your video i seriously fall in love ,the way you are teaching mam.a lot of thanks to you mam.and will pray to god that u always be healthy so that we can utilise you as much as possible.
@durgabhavaniallu15102 жыл бұрын
Mam u r giving a good explanation. We can understand and grasp the content very easily.thank u so much mam .we are so happy to have such a marvelous teacher
@clins102 жыл бұрын
Thank you so much MA. May God bless you. Algorithm explained in the simplest terms. Even my grandma can vividly explain this to another person after watching your videos.
@gunarajesh15 жыл бұрын
after 2 hours of search, I found your video which clears how quick sort to be implemented. thanks a lot
@aafreens20735 жыл бұрын
Same here
@samitkhedekar53112 ай бұрын
It's been more than 5years till this is the best playlist for DS
@DanishJamal8985 жыл бұрын
Mam.. Thanks for explaining this confusing topic in such a wonderful way🙂
@Abhishek_Ram576 ай бұрын
"Thank you for your constant efforts in providing such valuable lectures. Your clear explanations and engaging teaching style have made it much easier for me to understand complex topics. We need more educators like you who are dedicated to making learning accessible and enjoyable. Keep up the great work!" Thank you Jenny...👏🏽❤️🔥
@honghanhdo66904 жыл бұрын
I've been following your Data Structures and Algorithms series while using reference books alongside, but all of your videos are very well-explained and easy to understand. Thank you so much teacher!!! Wish you the best.
@bhavyabhagwani5407 Жыл бұрын
What reference books did she recommend? I am trying to find but didn't get where she said about any book😢
@shubhamsharma51015 жыл бұрын
Salute to your extraordinary teaching way. Thanks for making it easy for me.love from Jaipur
@rajatkumar18945 жыл бұрын
Thank you so much for these tutorials. These are really good for last moment revisions before going to exam. Thanks again :)
@adityabhendavadekar49133 жыл бұрын
Thank You so much ma'am for simplifying the beauty of quick sort algorithm. ❤️🙏🙏 Thanks a lot for this video.
@muskanmuskan18742 жыл бұрын
Mam apki ee video mujhe bahot use aayi tq so much mam I love you 😘
@radhasethu61855 жыл бұрын
I was very much confused initially but now i am quiet comfortable thanks a lot mam☺love and respect from chennai😍🔥
@mohitchatterjee55174 жыл бұрын
Thanks a lot, mam...I really switch to your channel from another channel to learn the sorting algorithm.....and yes it's really helpful to me.
@yashwanthnerella99355 жыл бұрын
best quick sort explanation i found today!
@Srinivasssssss Жыл бұрын
Mam, No words to explain your teaching ...🙂🙂 The way you explain each and every step is simply superb... Your patience is on next level mam..🔥🔥🔥
@vivekbhardwaj98495 жыл бұрын
Really beautiful... you and your way of teaching 😍
@bishalchakrabortty2543 Жыл бұрын
THANKS MAM....YOU HAVE CLEARED EVERY SINGLE STEPS....AND THE EXPLANATION OF THE ALGORITHM PART WAS JUST AWSOMEEEE MAM.....AGAIN THANK YOU VERY MUCH MAM.....
@dilipp0075 жыл бұрын
Beauty with brains.. Awesome tutorial
@yashpanjabi80468 ай бұрын
ma'am you are a blessing for students or even working professionals who want to get better in DSA
@durgaprasadankapalli38135 жыл бұрын
Wow good explanation, I hope definitely I will crack interview
@Its_meh_afrah5 ай бұрын
Thank you soo much for this amazing explanation...all my life i was afraid of these dsa concepts because my college teacher considered that i cannot pass this subject...and that fear always stayed with me.
@muhammadahsan-qn4xf5 жыл бұрын
wao what an explanation, thank you so much love from Pakistan.
@Nithishkumar0615 ай бұрын
I had arrear in my last sem , my friend are recommended your video i have cleared c program Thank you so much ❤❤🎉🎉
@Nene_Anonymous5 жыл бұрын
The best explaination i've ever seen.
@koneruprasanthi38545 жыл бұрын
Excellent mam your teaching
@kumarjena40404 жыл бұрын
Thank you so much ma'am for your efforts🙌 Your way of explanation is really good and easy to understand. Thank you so much ma'am for making such videos and please keep them coming.
@AbdiazizIbrahim-o3c Жыл бұрын
Watching you from East Africa (Kenya) appreciate your lecture mum
@payalsagar18085 жыл бұрын
how beautifully and simply explained ...u just nailed it mam😘😘😘😘thankyou mam...
@abhishekkumargupta30434 жыл бұрын
Well, giving the equal symbol in a[start]
@sakshimathur85264 жыл бұрын
thankyou so much Abhishek Gupta. I was stucked this outOfBound error for 1 hour. You solved my problem. Thanks a ton
@abhishekkumargupta30434 жыл бұрын
@@sakshimathur8526 Alrighty!
@alkaupadhyay39444 жыл бұрын
i am confused whether i like watching you or your video but let me tell you both are amazing...
@ankittyagi80602 жыл бұрын
Great Explanation Mam, Thank You! I hope i will remember it for long Do you see that first inner loop will give IndexOutofBound for given example, when pivot=15, index is 7, we do start++, next it will check for 8th element which is 7 again it will go inside and start++, now start is 9 and A[start] does not exists in while condition. I think in while, we should also check if start
@Nithishkumar0615 ай бұрын
I had arrear in my last sem ,my friend are recommended your video i have cleared in my first attempt thank you so much ❤🎉🎉
@djuroradusinovic54754 жыл бұрын
I think we might get index out of bounds exception if the array to be sorted is sorted in reverse order when passed to this function. It would help if your if statement is while ( start
@kurapatiabhilash2911 Жыл бұрын
bro not jenny mam, your comment saved me
@ayushacharya47787 ай бұрын
Exactly. But I think end>=lb is unnecessary check as a[start]
@shreevatsahungund95693 жыл бұрын
Am from reva University Bangalore. Tomarrow is my data structure exam and am 100% ready seeing your videos. Tqsm mam 💗.... I wish my prof. Could have taught like you .....
@MohsinAli-nw1hh5 жыл бұрын
Thanks Mam. I have got complete concepts of sorting algorithms after watching all the video series. Thanks again :)
@JennyslecturesCSIT5 жыл бұрын
Welcome :)
@SamimHossain-hi9fn3 жыл бұрын
Love you very much mam for your teaching techniques.
@pallavimeshram54914 жыл бұрын
I am getting distracted... half of the time while seeing your videos i wonder how beautiful and intelligent a person can be... Thank You so much for your efforts
@ashok0o73 жыл бұрын
yes so true
@cricket_contents3 жыл бұрын
Tumara y haal h.. To...
@abhivishwakarma27583 жыл бұрын
Mam itni sundar hai ki Hamara maan dag maga jata hai
@kMuhammadRayanAli3 жыл бұрын
kia pagal log ho yaar kasam se
@rakeshraj18664 күн бұрын
World 🌎 best youtuber for DSA
@ashutoshpatel0075 жыл бұрын
Thank you mam... finally I got this sort concept clearly. Thanks Mam... love and respect from Ahmedabad 😍😍😍😍🤗😊
@avipsaswain11623 жыл бұрын
Thanks alot mam😊
@shubhammasali51754 ай бұрын
Thank you so much 🙏 When my man taught me I didn't understand anything 🤣 and tomorrow was my test. I was in tension But when I saw your video i understood everything. Thank you once again 🙏🙏
@RunningBlade_5 жыл бұрын
I'm never going to forget this algorithm. Thank you mam 🙏🙏
@vinayak186f34 жыл бұрын
Yaad hai abhi tak ?
@abhinavsharma46734 жыл бұрын
😂😂
@Gamersgalaxy1482 жыл бұрын
BEAUTY WITH BRAINS .....this can be said to very few rare people and thats u mam
@abhaykumarsingh28385 жыл бұрын
while(a[start]
@subhajitghosh36514 жыл бұрын
here i write this code in java but it is showing ArrayIndexOutofBound exception i replace while ( arr[start]
@dileshsolanki23834 жыл бұрын
@@subhajitghosh3651 start < a.length && a[start]
@dedarulislam41244 жыл бұрын
Absolutely right bro. Must set boundary cases to avoid error. Thank you
@amanmishra-vt8hk4 жыл бұрын
Bhai tumne a.length C me kese use kar liya
@sergcool4 жыл бұрын
not a.length-1, but ub, because the ub will change with recursive calls, for example on left half, left of pivot. you will work from 0 to pivot -1. Not 0 to a.length-1. a.length-1 is good just for the first initial call. Remember we are cutting the problem into smaller subproblems. We don't wanna traverse the whole array with each recursive call.
@zheyeetan40487 ай бұрын
when i was finding resources on internet, i come to this page first, and see if here got any sources i need. It does! tq
@rajat15485 жыл бұрын
Amazing and the most simple explanation of the complicated sorting algorithm. Thank you so much maam
@Emperor723 Жыл бұрын
Bohot badiya explanation ❤✌🏻 Ye madam toh ek crore subscribers deserve karti Hain, she's beautiful as well as talented! Thank you ma'am for that tremendous level of clarity 💕
@fakhriddinumarov97844 жыл бұрын
Your programming and pedagogic skills are fantastic! Thank you
@sreyakukutapu2 ай бұрын
Thank you for Amazing lectures...you are making learning DSA easy
@amitsinghkatiyar57794 жыл бұрын
Nicely explained, will be good to add that we should also check that "start" < array length and "end" should be >=0
@curtismills3 жыл бұрын
(start < end) already checks for that because we know that (end < array lenght) and (start >= 0)
@dhanam793 жыл бұрын
@@curtismills try to do the same algorithm with an array like 8 7 6 5 4 3 2 1 as its elements. That is what Amit is telling. You will end up in a null pointer exception.
@ashishkalra94383 жыл бұрын
Correct....but no need of end condition modification..Also don't go for array.length.....Check for upperBound only. So just one && condition needs to be added to handle the worst case of all elements given in descending order. while(arr[start]
@pooja.sahu953 жыл бұрын
u r right...we need to add these conditions
@twi44583 жыл бұрын
@@dhanam79 Thanks for giving example
@debashissahoo19954 жыл бұрын
Thanks for your explanation... i was getting index out of range exception then i have modified this code and it worked while(start pivot) end -= 1
@ayseak_4 жыл бұрын
I was stuck in that moment also, your comment helped, thanks!
@shaikatif72264 жыл бұрын
Beauty with brain “dangerous combination” I am in love already
@edustouchpoint89684 жыл бұрын
Same to brother
@chamnil86664 жыл бұрын
You are a wonder woman,your teaching is amazing.I watch your videoes every day.Thank you so much for doing these educational videoes.