Sorting Methods

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 26

  • @laahyapolisetty1524
    @laahyapolisetty1524 Рік тому +1

    In 8:36
    • min_loc do returns min index ( but its the same value k and it is swapped with itself. So, we dont see any difference)
    • temp should also be declared
    In 18:42
    • 12 7 5 17 9
    7 12 5 17 9
    5 7 12 17 9
    5 7 12 17 9
    5 7 9 12 17

  • @samayster_3699
    @samayster_3699 5 років тому +6

    Sir insertion sorting samaj hi nahi aaya

  • @himanshustudy9332
    @himanshustudy9332 4 роки тому +8

    list[j] > item.

  • @hussainkhan-fg1lv
    @hussainkhan-fg1lv 4 роки тому +1

    8:12 should'nt k

    • @rishabhhedaoo9926
      @rishabhhedaoo9926 3 роки тому +1

      true

    • @allthatyoucando7589
      @allthatyoucando7589 3 роки тому +1

      yeah .... true for me ...

    • @petersmith8488
      @petersmith8488 2 роки тому +1

      Your are wrong
      Because we have to iterate one time lesser than the last index .
      The reason is that the last element will automatically comes in right position.

  • @dagadnikhil2846
    @dagadnikhil2846 4 роки тому +1

    #include
    int sub_problem(int a[],int k,int size)
    {
    int j,pos=k;
    for(j=k+1;j

  • @043mehdi
    @043mehdi 5 років тому +3

    you should put your lectures in a playlist. They are scattered all over the place. In a playlist easy for students to follow and also you will have more views, It is easy for youtube search algorithm to find it.

    • @cenacr007
      @cenacr007 4 роки тому +1

      it's in a playlist dude

    • @hussainkhan-fg1lv
      @hussainkhan-fg1lv 4 роки тому +2

      @@cenacr007 dude his comment is 1 year old and yours 5 months LOL

    • @ekansh907
      @ekansh907 Рік тому

      How r you

  • @aranjithkumar2874
    @aranjithkumar2874 Рік тому

    👌👌👌👌👌👌

  • @allroundertiwari3662
    @allroundertiwari3662 8 місяців тому

    Boooooooooom

  • @aasthabansal6315
    @aasthabansal6315 Рік тому

    for(i = 1; i 0 && a[j - 1] > a[j]; j--)
    {
    temp = a[j];
    a[j] = a[j - 1];
    a[j - 1] = temp;
    }
    }
    at 18:30 min.

  • @allthatyoucando7589
    @allthatyoucando7589 3 роки тому +2

    Sir why program will choose -17 first why not -5 ????

    • @ivandcruz7619
      @ivandcruz7619 3 роки тому

      which one is the minimum -17 or -5?

  • @manojsrivastava8546
    @manojsrivastava8546 4 роки тому +1

    Thaks

  • @tanusid1237
    @tanusid1237 2 роки тому +1

    Are...kehna kya chate ho sirji...U are confusing all the more....I think u must be prepared well next time....I thought IIT'ans are very clear on their basics!!!!I'm an Engineer by accident but teacher by passion...Least we can do is not confuse!!!

    • @tanusid1237
      @tanusid1237 2 роки тому +1

      IIT Needs to put sorting algorithm here so that PPS can be dealt in much simpler ways...Less number of sorry's 🤔

  • @madridism1056
    @madridism1056 5 років тому +15

    maybe i'm dumb but this is one of the worst lecture i've ever seen on sorting

    • @hauzeeb3175
      @hauzeeb3175 3 роки тому +2

      Buddy refer good lecture on youtube then...

    • @goswamivibhor
      @goswamivibhor 3 роки тому +1

      The thing is he is a IIT Professor, so I think we don't have that much level to get match their level😂

    • @sudenbaba950
      @sudenbaba950 3 роки тому +2

      He explained very well , he told everything which is needed for sorting and different methods.
      I think you dont know English to par his level or just trying to complete whole lacture .

  • @vedantverma2510
    @vedantverma2510 5 років тому +1

    Excellence sirg