Quick Sort For Beginners | Java Placement Course |

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Notes : drive.google.c...
    🔥Java Placement Course : • Introduction to Java L...
    🔥Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
    🔥Telegram: t.me/apnikaksh...
    🔥Instagram: / dhattarwalaman
    My CZcams Gear 😉: docs.google.co...

Komentáře • 363

  • @programmingwithroxy5925
    @programmingwithroxy5925 Před rokem +54

    Great explanation.. I have 2 points though...
    1. Unnecessary swap during comparison loop
    If an element is already in its position, the code will swap an element with itself...
    Swap only if(i>j)
    2. Pivot swap is not necessary if pivot is already in place
    So there can be also if(i

  • @anushkarathore8712
    @anushkarathore8712 Před rokem +44

    i must have seen thousands of videos but the way this girl explains all the concept with such an ease.....she's great!!!!

  • @avirupghosh5879
    @avirupghosh5879 Před 2 lety +156

    Iss didi aur aman bhaiya ke kripa se hum bohot kuch free of cost sikh rege hain😀

  • @harshilverma6549
    @harshilverma6549 Před 2 lety +20

    1. Roadmap, goals
    2. Independent self reliant
    3. Patience 🙂
    4. Mentorship

  • @PALTUBABY
    @PALTUBABY Před 2 lety +16

    Very nice explanation and loved the last part where it has been explained which sort to use under which circumstances. Being from embedded systems platform, quick sort is better than merge sort because memory constraints are always there in microcontrollers. Thank you so much for this video.

  • @pratikbhowmik
    @pratikbhowmik Před 2 lety +22

    A big thank you for this JAVA series . Can't thank you enough for this course please keep this series going on . It's so helpful . I randomly landed on your videos due to a learning nessesity and I am finding it damn helpful .

  • @sports4yoo
    @sports4yoo Před 2 lety +7

    Waoo explanation level is too good..
    I was so worried about quicksort.. But now you cleared my doubt.
    Thank you mam for this wonderful explanation. ❤
    It helped me to much.

    • @bapanmaity1166
      @bapanmaity1166 Před 2 lety

      if u understood, then try to explain this {3,2,6,5,8,4}

  • @rsmgaming4384
    @rsmgaming4384 Před 2 lety +12

    Code :-
    public class QuickSort {
    public static void quickSort(int[] arr,int low,int high){
    if(low

  • @princ3kumar569
    @princ3kumar569 Před 2 lety +13

    Superb and amazing 💗 course bhaiya aur didi
    Proud to be have a great guide 😊 in you

  • @rohitkunta8328
    @rohitkunta8328 Před rokem +2

    In so many videos they said that i need to cross j then that i will be pivot value , it's true , but coding According to that is complex one , but mam u made it veryyyy simplified way and u made a simple code for this complex , really an excellent work mamm👍👍😍........

  • @husain_bhai0
    @husain_bhai0 Před rokem +9

    Hello Aman Bhaiya,
    There are few more concepts that we need as in college as professional, if possible if you can make video on these concepts of Java:
    Java API Packages
    Multi threaded programming
    Managing Error and Exception
    Managing I/O Files
    Java Collection
    Applet Programming
    AWT
    Event Handling
    JavaFX
    JDBC
    Java Networking
    Thank You

  • @sunnym1692
    @sunnym1692 Před 2 lety +18

    This series is really great and a great apportunity for us to learn dsa with Java.
    One request to Apna College team to please make video fast and upload within 1 to 2 days.
    Thank You ❤️

  • @ujjawalsingh9942
    @ujjawalsingh9942 Před 2 lety +32

    Thanks for making this course,this helped me a lotttttt.

  • @danishshaikh23403
    @danishshaikh23403 Před 2 lety +5

    Continue the series don't stop.......it has been 10 days for the last videos.......this much gap is spoiling the placement activity

    • @alokgautam859
      @alokgautam859 Před rokem

      if you are really serious for placement then join apna college alpha bootcamp

  • @srkajolfan6341
    @srkajolfan6341 Před rokem +1

    I was worried for my exams because I couldn't find any video to solve my main concept of sorts and suddenly I got this , now I got a relief...

  • @sameerkhan-xu4ve
    @sameerkhan-xu4ve Před 2 lety +1

    Didi aap ki java classes sbse best h non tech student bhi java expert bn jayenge.

  • @adithyat753
    @adithyat753 Před rokem +2

    Ma'am in "partition" function it must be j

  • @HarshitGupta2209
    @HarshitGupta2209 Před 2 lety +7

    The quality of course is superb. Thanks Shradha. Request you to post the lectures regularly and if possible provide the roadmap of lectures

  • @amaypandey1893
    @amaypandey1893 Před 2 lety +3

    Didi Plz Make A Video On How To Study When You Don't Feel Like Studying 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @AnimeWibes123
    @AnimeWibes123 Před rokem +3

    A great thanks to you guys for the java , Web development , C++, Python along with DS+Algorithms .It's really so help full . Keep Develop yourself. Best of luck for the future.... :) :) :)🙂

  • @gagadhartelgad2595
    @gagadhartelgad2595 Před rokem +2

    Java language is very hard but i can learn java language because i whant to be en engineer tarefor i am learning english si anything is no more so , by by

  • @Nishchaymusic
    @Nishchaymusic Před rokem +15

    5:25 "Greatest Life Lesson"

  • @ChetnThakre
    @ChetnThakre Před 2 měsíci +5

    Where is our jijashree💀⁉️

  • @matrix6794
    @matrix6794 Před 3 měsíci

    never thought quick sort is this easy. thank u big sis for making this

  • @shreevaths7511
    @shreevaths7511 Před rokem +2

    how to make the output appear in VS code as shown in this video at 18:39 ??
    this output console shows output in a clear format and also the runtime of the program is visible !

  • @Deox_ff
    @Deox_ff Před 4 měsíci +1

    God bless both of u didi or Aman bhaiya ❣️😚

  • @playhaze6965
    @playhaze6965 Před 2 lety +6

    Yaar yeh kitni awesome hai 🥺😂

  • @MrDee-yy3ii
    @MrDee-yy3ii Před 2 lety +3

    Thank you soo much I was always wondering that why quick sort is so tough but after watching that video it became a cake walk for me

    • @arshdeep011
      @arshdeep011 Před 2 lety

      Low and high ka index to dia nhi hamne,,
      And it is showing error on first line
      public class QuickSort { wali line me

  • @invisible2795
    @invisible2795 Před 2 lety +2

    Thank you so much ma'am love you so much 💗💗💗

  • @reenayadav8468
    @reenayadav8468 Před 2 lety +3

    Please upload more video in java placements question as soon as possible🙏

  • @Bad_Avadh
    @Bad_Avadh Před 2 lety

    You can also put if low== high ....
    Then should return

  • @rakeshmahato8005
    @rakeshmahato8005 Před 2 lety +1

    Extract all the vowels and consonants from your name and make a single
    string of vowels followed by consonants in ascending order. For example, if
    your name is “ALAN TURING” then the final string would be “AAIUGLNNRT”.
    Plz answer reply me ma'am

    • @ayushdeveloper
      @ayushdeveloper Před 2 lety +3

      import java.util.*;
      public class ArrangeStringQ{
      /*
      Q. Extract all the vowels and consonants from your name and make a single String of vowels
      followed by consonants in ascending order .
      Example :- Input = "ALAN TURING"
      Output = "AAIUGLNNRT"
      */
      public static void main(String[] args) {
      System.out.print("Enter Your Name : ");
      Scanner sc = new Scanner(System.in);
      String name = sc.nextLine();
      String vowel = ""; // Used to store Vowels in ascending order
      String arranged = ""; // Used to store arranged sequence.
      name = name.toUpperCase();
      for(char ch ='A';ch

    • @akankshasingh704
      @akankshasingh704 Před 2 lety

      import java.util.*;
      public class Main
      {
      public static void main(String[] args) {
      String s="Alan Turing";
      s=s.toUpperCase();
      s=s.replaceAll(" ","");
      char arr[]=s.toCharArray();
      Arrays.sort(arr);
      int n=arr.length;
      String v="";
      String c="";
      String ans="";
      for(int i=0;i

  • @travelnlearn
    @travelnlearn Před 8 měsíci +1

    You explain like a WOW👍 #HATSOFF #AMAZINGTEACHER

  • @pranavyamagekar4629
    @pranavyamagekar4629 Před 2 lety +1

    thank you so much for making this corse I am not done till this video but I will 😁😁

  • @karansoni3429
    @karansoni3429 Před 2 lety +1

    My heart skips a beat after watching your smile ❤love

  • @keshav7891
    @keshav7891 Před 2 lety +2

    Mai computer science karna chahata hu or 12th mai it and computer science nhi tha or muje be tech karna hai computer science karna chahata hu please aage kya karne chaiye ispar ek video banayo please

  • @anurag9833
    @anurag9833 Před 2 lety +2

    Mind blowing explain

  • @firdoshiii
    @firdoshiii Před 2 lety +1

    Should I do BCA MCA integrated degree or should I do only BCA first than MCA .I'm very much confused . Please help me

  • @vitthalsirsale4637
    @vitthalsirsale4637 Před 2 lety +2

    I request didi please complete this series as early as possible because my placements are going on and I am learning DSA from this series.

  • @bhushanpatil1979
    @bhushanpatil1979 Před rokem +1

    Thanks for dark background....🙏

  • @stunningustad1245
    @stunningustad1245 Před 2 lety +5

    I am the first here 😀😀

  • @GamingProgrammerx
    @GamingProgrammerx Před 2 lety +4

    Allah Paak aap ko hamesha Salamat rakhe
    ameen 👐
    ✧༺♥༻✧

  • @Nishchaymusic
    @Nishchaymusic Před rokem +2

    i was just about to die finding someone who is pronouncing pivot correctly on youtube!! Thankyou so much i'm just watching this video to hear someone teaching quicksort pronouncing pivot correct. Now i can die piecefully :)

  • @ABCD00177
    @ABCD00177 Před 2 lety

    Quick, merge, & etc sort are necessary for programming where it is used sort cheapeter I know very well

  • @mzeeperfect
    @mzeeperfect Před 2 lety

    Don't know why but Aman sir and didi both teach in kind a similar accent and vibe 🙃

  • @walkthrough777
    @walkthrough777 Před 2 lety +1

    public class QuickSort {
    public static int partition(int []arr,int low,int high)
    {
    int pivot=arr[high];
    int i=low-1;
    for(int j=low;j

  • @siddhanathpore5866
    @siddhanathpore5866 Před rokem

    shraddha mam you makes much cunfusion in int pivot = partition(arr,low,high) in
    this step

  • @pranjalpathak214
    @pranjalpathak214 Před 2 lety +1

    Didi doesn't it works like binary search or can we say it works on the same principle of binary search like dividing and then doing the operation.

  • @adnanpatanwala1682
    @adnanpatanwala1682 Před 2 lety +2

    in swapping pivot why can't we write like this :
    int temp = arr[i];
    arr[i] = pivot;
    pivot = temp;
    return i;
    i am not getting the appropriate ans output

  • @triplesgamers4461
    @triplesgamers4461 Před 2 lety +3

    Thanks to you

  • @rushikeshdhane4755
    @rushikeshdhane4755 Před 2 měsíci

    hii shradhha mam.when i exceute this program .it generate an error stackoverflow. how to sort out the output

  • @oqant0424
    @oqant0424 Před 2 lety

    The quality of course is superb

  • @shubhamjha1695
    @shubhamjha1695 Před 2 měsíci

    one of the easy code #include
    using namespace std;
    int helper(vector &v, int s, int e)
    {
    int pivot = v[e];
    int i = s;
    for (int j = s; j < e; j++)
    {
    if (v[j]

  • @codewithhunter719
    @codewithhunter719 Před 2 lety

    I really enjoyed the video. The way of explanation is awesome.

  • @siddharthuzumaki
    @siddharthuzumaki Před 2 lety

    This is what I wanted code explanation

  • @bikku945
    @bikku945 Před 10 měsíci +1

    Samajhh nahi aaayaa par sunke aaacha lagaa😂

  • @mr.hacker7758
    @mr.hacker7758 Před 2 lety

    I know all languages off computer but I always love python coding is my favourite language ever

    • @Rahulyadav-vz5sj
      @Rahulyadav-vz5sj Před 2 lety

      To ja krr python ka video dekh yha aane ki koi jarurt nhi hai..

  • @mdnadeemasgar6279
    @mdnadeemasgar6279 Před 2 lety

    Many advance concept of JavaScript is pending yet(Promise, async, await, callback). Please make videos on Advance JavaScript also.

  • @mukeshrawat8816
    @mukeshrawat8816 Před 2 lety +1

    Didi please make playlist of aptitude test for product based companies.

  • @shivanisingamsetty1943
    @shivanisingamsetty1943 Před 10 měsíci +1

    nice explanation thanks

  • @prakhyatsrivastava2977
    @prakhyatsrivastava2977 Před 2 lety +1

    Is there a particular time period when new lecture gets uploaded ??

  • @pirtpalsingh8804
    @pirtpalsingh8804 Před 2 lety +1

    Thanks for the great explanation

  • @Minus_ggggggggaming
    @Minus_ggggggggaming Před 2 lety

    I. Love this Didi 😘😘😘😘 Didi you always motivated me

  • @tejaswineenavare1713
    @tejaswineenavare1713 Před 2 lety +1

    Plz make a video on how to make a Compiler and . Extension

  • @kolhapuri3303
    @kolhapuri3303 Před 2 lety

    Didi you are great I love watching your video ❤❤❤

  • @techguy7855
    @techguy7855 Před 2 lety

    I have never watched a video like this one. ☝️ 😍😍😍
    Please upload more and more videos.

  • @s2learncoding706
    @s2learncoding706 Před 2 lety

    Thank you for very esay prasentation ❤️

  • @user-bc6ss6gp3z
    @user-bc6ss6gp3z Před 6 měsíci

    #Apna College & shradda Didi rocks

  • @gopendumanna9600
    @gopendumanna9600 Před rokem +1

    Plz do a video on QUICK sort by DUAL Pivots 🙏🏽🙏🏽

  • @hari7027
    @hari7027 Před 2 lety

    what changes need to be done in the code in case pivot is first element.

  • @kocengineering769
    @kocengineering769 Před 2 lety +1

    Hello
    Mam good work
    Needed for all

  • @uchihaPrincessSakura
    @uchihaPrincessSakura Před 2 lety +1

    nice explanation shraddha di

  • @sparshsharma1343
    @sparshsharma1343 Před 2 lety

    This code is not working when the array is in strictly descending order like ( 5, 4, 3, 2, 1). It gives ArrayIndexOutOfBounds Exception.
    I have tried other QuickSort implementations but no one works for the strictly descending array.
    Please tell me its solution.

    • @alokgautam859
      @alokgautam859 Před rokem

      yaa you are right bro but ye sorted array pe vo kaam nhi krta hai kyu ki quicksort already soretd array ko sort mhi kr skta hai , jb hum quick sort ka base condtion likhte hai tb (low< hight) krte hai tb hi vo array ko sort krta hai , higher wale bde element pe quicl srt kam nhi krega

  • @milindbadekar3503
    @milindbadekar3503 Před 2 lety

    5:21 must watch
    sout("I like that moment");

  • @samridhig3gupta203
    @samridhig3gupta203 Před 2 lety

    Hey please make a series of important series of questions for each video its my request

  • @hemalshah8905
    @hemalshah8905 Před 2 lety

    Thanks for amazing explanation

  • @harmindersingh5364
    @harmindersingh5364 Před 2 lety

    Thanks mam for making these videos.

  • @continnum_radhe-radhe
    @continnum_radhe-radhe Před 2 lety +1

    Thank you soo much didi 🔥

  • @anoopkumar3668
    @anoopkumar3668 Před 2 lety

    Didi.. ek video JVM Architecture pr banaiye.. JVM kam kese krta h ye samajh lenge to or easy ho jyega

  • @Hz-qz5mr
    @Hz-qz5mr Před 3 měsíci

    I wish she would have solved the challenge in javscript

  • @HEMANTHKUMAR-im5ee
    @HEMANTHKUMAR-im5ee Před 2 lety

    MAM / SIR I JUST COMPLETED MY 12TH BOARD AND RELATED EXAMS....
    I HAS INTREST TO GET HIGH PAY JOB IN CAMPUS PLACEMENT FOR THIS HOW I WANT TO START MY CODE LANGUAGE AND HOW TO APPROACH TO LEARN FASTLY...
    WHICH LANGUAGE IS BETTER TO LEARN FOR ME

  • @ytg_fl1ck
    @ytg_fl1ck Před 2 lety +1

    Didi Always JOd💪💪

  • @newanurag
    @newanurag Před 2 lety

    Instead of 6 as first element in an array what if the first element is 10. In that case 10 is greater than 8. How do you swap in that case.

    • @TheCodeThoughts
      @TheCodeThoughts Před 2 lety

      in that case we are not entering inside if , once we get a smaller element we are inside "if" and our "i" would have the location of 10 and hence we will swap it.

  • @kmalisha4653
    @kmalisha4653 Před 2 lety

    thank you for these amazing videos.

  • @ujjwalrarespy4026
    @ujjwalrarespy4026 Před 2 lety

    I love you didi ..you teach really awesome 😎

  • @ahmaralisyed
    @ahmaralisyed Před 2 lety

    Didi now owns the channel, maybe bhaiya as well🙃

  • @gedelasivakrishna
    @gedelasivakrishna Před 23 dny +1

    Maja aaya 👏👏

  • @snehadesai8471
    @snehadesai8471 Před 2 lety

    Please make video on how to get job abroad after b tech directly (roadmap).

  • @shivanshchauhan5630
    @shivanshchauhan5630 Před 2 lety

    Didi quick short ko kya ham ascending order bhi khe sakte hai ye jo elements apne arrange kiye the ascending order mein the isiliye

    • @someshsisodia3830
      @someshsisodia3830 Před rokem

      no you can arrange them in descending order also by making changes in code

  • @user-kh8zr2cm7d
    @user-kh8zr2cm7d Před 3 měsíci

    6:12 to 6:25 ....quick sort complete

  • @gurpreet2145
    @gurpreet2145 Před 2 lety

    what is the error in the code??
    public class Main
    {
    public static int partition( int arr[], int low , int high ){
    int pivot= arr[high];
    int i=low-1;
    for( int j=low ;j

  • @selfstarofficial
    @selfstarofficial Před 2 lety +1

    *Please make a video for computer science class 12 term 1* 🙏

  • @citizenofearth001
    @citizenofearth001 Před rokem

    tht goosebuming video strng music❤

  • @dhanashreegorane3272
    @dhanashreegorane3272 Před 2 lety +1

    please make a full tutorial on django and angular

  • @saadsaif5849
    @saadsaif5849 Před 8 měsíci

    5:21 wah api g🤣🤣

  • @subhammallick5275
    @subhammallick5275 Před 2 lety

    Remembering Ross saying pivot in friends

  • @bhupendratiwari1564
    @bhupendratiwari1564 Před 2 lety

    Arrays.sort(a,a+n);
    Where a is array ...
    n is length
    Issae kyu nhi kiyaa didi??

  • @triplesgamers4461
    @triplesgamers4461 Před 2 lety +3

    Hi

  • @user-jl8rw8ex4c
    @user-jl8rw8ex4c Před 2 měsíci

    Thank you so much for this!

  • @PranabLovesEveryone
    @PranabLovesEveryone Před 2 lety +3

    2nd...