L-3.5: Insertion Sort | Time Complexity Analysis | Stable Sort | Inplace Sorting

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 327

  • @Comedypoint06
    @Comedypoint06 Год назад +170

    Leagend watching it one day before exam 😅😅😅😅😅

    • @shujaatalihashim428
      @shujaatalihashim428 5 месяцев назад +7

      I have exam in 4 hours

    • @vidhidalsaniya4089
      @vidhidalsaniya4089 4 месяца назад +1

      One day 😂I have my exam in two hours and I watching it right now

    • @user-sn3tj3rn2x
      @user-sn3tj3rn2x 4 месяца назад

      No bro idhr pokara na lag jai 1 month phela he start KR RHA ho

    • @Mafiaking661
      @Mafiaking661 4 месяца назад +1

      Yesss tomorrow is my CS exam😂

    • @royal93987
      @royal93987 4 месяца назад +3

      Super legend watching 1 hr before exam 😂😂

  • @Nizamkakar
    @Nizamkakar 3 года назад +70

    Sir app ko 2 sal se follow kar raha hon, is video ma pehle dafa dekha aap muskara rahe hain. khosh raho Sir❤

  • @SmartTech-tv1tu
    @SmartTech-tv1tu 2 года назад +100

    Best Teacher ever I have seen on RUclips 👌Appreciation from Pakistan 🇵🇰

    • @toxic5630
      @toxic5630 Год назад +28

      Bhai tum log q padh rahe ho
      😂🤣🤣

    • @Ravenyx-xv8sg
      @Ravenyx-xv8sg Год назад +20

      @@toxic5630 haa yaar batao 🤣 last me to bam he phodna h

    • @mani_513
      @mani_513 Год назад +20

      ​@@toxic5630 yar ap logon k algorithms k concept may be clear hon but humanity k bara bilkul zero ho

    • @pranavkamble10
      @pranavkamble10 Год назад +6

      ​@@mani_513sahi kaha tune Bhai...👍

    • @PremRabade
      @PremRabade Год назад +2

      This is Indian talent dude 😎🆒

  • @Kushaan_1
    @Kushaan_1 3 года назад +51

    Your pedagogy is unique and focused on gate aspirants..
    Thank u sir!

    • @itsfunny01
      @itsfunny01 6 месяцев назад +2

      kya hua bro gate thoda ya nahi
      please reply .

  • @MahmudulHasan-er4np
    @MahmudulHasan-er4np 3 года назад +20

    Already memorised the algo for exam but now that you shown the real life example, it's crystal clear. Thank you sir

  • @nikhilpandeytm1829
    @nikhilpandeytm1829 4 года назад +31

    Great sir, Computer science has been easy to understand by you only thanks sir

  • @shwetaadurkar562
    @shwetaadurkar562 3 года назад +5

    Great lecture sir...All the concepts related to this sorting technique (working,example,complexity) in one video and well explained..Thank you sir

  • @122_jyoti5
    @122_jyoti5 4 года назад +10

    Sir thanku so much .your way of teaching awesome sir... Sir u r the key for all engineering students... I wish your channel will grow more and more.... Sir thanku once again.

    • @GateSmashers
      @GateSmashers  4 года назад +6

      Thank you from the bottom of my ♥

  • @rabicca8646
    @rabicca8646 3 года назад +4

    Sir, your teaching style is so attractive, thank-you. Huge respect from PAKISTAN

  • @CodeWithSanju30
    @CodeWithSanju30 4 года назад +36

    The way u teaching is osm and example is also great dude❤️

  • @gayathrib8610
    @gayathrib8610 4 года назад +8

    Really sir , you explain all the topics very interesting and also very easily.
    Even though I don't know "Hindi" I can able to understand each and every word you say , that's crystal clear 😍
    Till now , I haven't know how to calculate the Time complexity. But now, I understood only because of you sir
    I hope this playlist on algorithms should be continued sir :-)

  • @kalpanameena9854
    @kalpanameena9854 4 года назад +3

    u are incredible ...one of best tutor on RUclips

  • @DevasheeshMishra
    @DevasheeshMishra 4 месяца назад +5

    Ultra legends watching in washroom on the day of exam

  • @souravbhagat9979
    @souravbhagat9979 4 года назад +10

    Sir please vedios uplaod kijye aap RUclips pr design and analysis of algorthms pr.

  • @rory04aditi
    @rory04aditi 3 года назад +3

    Really liked the way you explained with the cards. Made it really easy to understand! Great Help! Thanks! You're better than most teachers! Keep it up! You've earned yourself a subscriber!

  • @safionweb
    @safionweb 3 года назад +3

    Happy to see you making progress. Nice setup.

  • @JitendraSingh-qd7jk
    @JitendraSingh-qd7jk 2 года назад +2

    I can see that this code snippet is borrowed from the book called "BIBLE OF ALGORITHMS" ;Introduction TO algo by Thomas. You're literally perfect if you've read that.

  • @sagaradhikari8581
    @sagaradhikari8581 3 года назад +1

    sir u are god for me , the way you explain each topic is way way better than others out there. love u a lot sir , keep making these videos . thank you

  • @mr.unknown6577
    @mr.unknown6577 3 года назад +1

    And Most Important Your Teaching style is Amazing
    I watch Your videos and I Understand each and Everything about Topics

  • @swathyc9404
    @swathyc9404 4 года назад +4

    Wow anna after long time I am seeing you and I'm keep on waiting for your classes.🙂

  • @user-eg3km7xb3b
    @user-eg3km7xb3b 9 месяцев назад +1

    you are the best teacher in the world sir agar ap hmara college ma hota fr to top krna tha pka or attendence b puri hoti sir ap punjab university ma apply kro pls

  • @mdsanaullarain-o6z
    @mdsanaullarain-o6z 7 месяцев назад

    one of the best teacher for data structure .....

  • @Gurvinder7Singh
    @Gurvinder7Singh 3 года назад +1

    Arrey Sir Sir Sir, Jo Line boli na apne, "Engineering Student to reh hi nahi skte iske bina" - Ek Number 😄😄 , To Be Honest, your Classes are Fun

  • @ankitchaudhary6142
    @ankitchaudhary6142 3 года назад +2

    working from home sir, million million thankyous for this great explanation.

  • @mohitchouhan7679
    @mohitchouhan7679 6 месяцев назад +1

    amazing and easy to understand

  • @sayansahu7389
    @sayansahu7389 Год назад +4

    Such a good explanation💪🏻

  • @harshita1457
    @harshita1457 4 года назад +1

    Teaching methodology to apki bahut achi h no doubt... But background 👌🏻👌🏻👌🏻👌🏻

  • @avantikakale5004
    @avantikakale5004 4 года назад +3

    All subjects of CSE becomes very easy only because of you Sir . Superb explanation 👍👍

  • @SinghHarmanat
    @SinghHarmanat 3 года назад +4

    It always helps to write the output in the comments of your first traveral, then the program would run in the first go...
    public class InsertionSort {
    public static void main(String[] args) {
    int[] a = {77, 23, 54, 223, 101, 65, 283, 99, 300, 1};
    for (int j = 1; j < a.length; j++) {
    int newElement = a[j]; //23
    int i = j - 1; // 0
    while (i >= 0 && newElement < a[i]) {
    a[i + 1] = a[i]; // {77, 77, ...}
    i = i - 1; // i = -1
    }
    a[i+1] = newElement; // {23, 77, ...}
    }
    // printing the sorted array
    for (int i = 0; i < a.length; i++) {
    System.out.println(a[i]);
    }
    }
    }

  • @faizivlogsofficial8678
    @faizivlogsofficial8678 3 года назад +2

    Sirrrrr I really love your videos but bhttttt speeed me smjhaya ghooom gya sara kuch

  • @sunimachhetri3644
    @sunimachhetri3644 2 года назад +2

    Real life jitu vaiya ..Thankyou so much

  • @MixInfo4554
    @MixInfo4554 2 года назад

    The way of your teaching is of billions words.

  • @upsainiangaming2453
    @upsainiangaming2453 2 года назад +2

    studying for up lecturer ,thanks for amazing lecture sir

  • @AnjaliSingh-yk9jv
    @AnjaliSingh-yk9jv 3 года назад +1

    Amazing explanation.... And amazing teaching... Thanku..... I easily understood.....

  • @vandanabanny7550
    @vandanabanny7550 2 года назад +1

    i am so clear with insertion sort, thank you for this valuable video

  • @someonesoumya
    @someonesoumya 4 года назад

    Your Explanation way is better than others.

  • @muntahariaz4332
    @muntahariaz4332 2 года назад +1

    Awesome 😎 I found my all study subjects in this channel 🥰😘

  • @scorpion-5
    @scorpion-5 4 года назад

    much love and respect from pakistan apka way teaching boht acha hai easy hai bundle of thanks

  • @raohassan6155
    @raohassan6155 Год назад

    One of my most favorite teacher

  • @ersarthaksethi
    @ersarthaksethi 4 года назад

    att kraa dinda h eh bndaa kya padhatee ho yrrr too goood

  • @TasteVenture22
    @TasteVenture22 2 года назад +2

    Thank u so much sir 😊

  • @prarthnashishodia7930
    @prarthnashishodia7930 3 года назад +1

    fantastic bhaiji :-)

  • @harshalgarg1149
    @harshalgarg1149 3 года назад +2

    Nice video.
    Please use indexing for explanation.

  • @serene6700
    @serene6700 4 года назад

    Simply the most beneficial channel for me....

  • @CMOMKARSHELKECM
    @CMOMKARSHELKECM 2 года назад

    VERY SHORT AND INFORMATIVE LECTURES . I AM FEELING COMPUTER SCIENCE EASY BECAUSE OF YOUR LECTURES THANKS SIR

  • @skhojayfarahaman5867
    @skhojayfarahaman5867 3 года назад +3

    Ur example is just awesome. You are my god sir❤️❤️❤️❤️❤️❤️❤️

  • @rupalijain2625
    @rupalijain2625 3 года назад +5

    Keep going ... You will reach at the highest point

  • @smsadiofficial
    @smsadiofficial 2 года назад +1

    Thank you Sir, it was very helpful

  • @shivanshgoyal310
    @shivanshgoyal310 4 года назад +5

    Amazing sir this is my first video of your's 🥰🥰

  • @grandadmiralthrawn9688
    @grandadmiralthrawn9688 2 года назад +1

    Very short and efficient lectures . Thanks a lot sir

  • @SHAHIDRAZA-do9xe
    @SHAHIDRAZA-do9xe 4 года назад +1

    Sir You are a great teacher

  • @shalinimutyala2631
    @shalinimutyala2631 6 месяцев назад

    Thank you very much sir, your videos are easy to understand and of great help.

  • @anshikasingh4289
    @anshikasingh4289 2 года назад

    This video is very helpful for me because inthis video all points are covered about insertion sort.
    Thanks for this video😊

  • @anushkamishra8257
    @anushkamishra8257 4 года назад +3

    Amazing!

  • @saweranadeem2040
    @saweranadeem2040 2 года назад

    JAZAK ALLAH SIR

  • @anushkasrivastava8814
    @anushkasrivastava8814 3 года назад +1

    You're great sir!!...very well explained...thank youu so much:)

  • @nileshpatil5716
    @nileshpatil5716 4 месяца назад +3

    Legend was those who reading on exam day

  • @khushbookumari6938
    @khushbookumari6938 4 года назад +2

    As usual awesome class with you sir 😊

  • @priyaroat8057
    @priyaroat8057 3 года назад

    Really mja aa gya sir 👍👍

  • @dhruvilsolanki9887
    @dhruvilsolanki9887 Год назад

    mentor of all mentors

  • @SmartTech-tv1tu
    @SmartTech-tv1tu 2 года назад +1

    Background ☘️💚

  • @navikajaiswal4941
    @navikajaiswal4941 4 года назад +1

    Great sir!

  • @aliosama3747
    @aliosama3747 2 года назад

    Hi .....
    Kindly ap apni videos me pory lecture ka aik preview dia krain last me ! Yeh initiative kaffi help full hoga students k lyeee q k ub obviously jo class me samjh nahi atta usy samjhny k lye log RUclips videos dekhty hain is lye ap kindly preview day dia krain k pori video me kb kia hua tha ! Thanks

  • @riyabosmia
    @riyabosmia 3 года назад

    Thank you for the video
    Sir code vale videos aur banaya karo.... achhe se samaj aata hai

  • @aymenhameed5348
    @aymenhameed5348 2 года назад

    thank you so much sir you helped us alot. Please never stop making videos. Your huge fan from Pakistan

  • @pagalgaming7228
    @pagalgaming7228 4 месяца назад

    Sir I am from a biology background but after watching this video i think I can learn c easily thank you ❤

  • @wilson7846
    @wilson7846 4 года назад +1

    easiest explanation ever😍😍😍😍😍😍😍😍😍

  • @drishtisharan1963
    @drishtisharan1963 3 года назад

    was never able to understand the complexity but you made is so easy sir...thankyou so much!

  • @abdeali1301
    @abdeali1301 2 года назад

    Great & Very Helpful Video,Thankyou sir.

  • @videoeditor1994
    @videoeditor1994 3 года назад

    Waooo nice sir thankyou

  • @praveensinghrathore4542
    @praveensinghrathore4542 3 года назад +1

    PERFECT, Thanks a lot sir

  • @divyaoffical0337
    @divyaoffical0337 2 года назад +1

    thank you so much sir

  • @amedkar_1_world
    @amedkar_1_world 2 года назад

    Your way of teaching is excellent and awesome ☺☺

  • @Abhijeet_P
    @Abhijeet_P Год назад +1

    🙏🏻🙏🏻

  • @shraddhajaiswal8412
    @shraddhajaiswal8412 3 года назад

    You are great sir your teaching style superub👌👌

  • @Harpreetkaur-fd5fu
    @Harpreetkaur-fd5fu 4 года назад

    Very nice sir
    Great explanation 👌👌👈

  • @mayank7411
    @mayank7411 4 года назад +1

    Jab first comparison karenge toh j=key=20 or j=1( index of array) toh jab I=j-1 hoga toh I=0 hoga toh fir while vala loop jaise chalega I>0 kaise hua bhaiya yahan gadbad hai while loop main ye hona tha first condition main I>=0.
    Agar kuch galat bataya toh aap batao ki main kahan galat hun

  • @shahbazali1092
    @shahbazali1092 2 года назад +1

    sir you are very helpful ,,i from pakistan

  • @gurleenkaur5151
    @gurleenkaur5151 3 года назад

    bohot badiya

  • @divyanagar5796
    @divyanagar5796 2 года назад

    Thanks sir

  • @kevaljivrajani5758
    @kevaljivrajani5758 2 года назад

    Great one!

  • @abhishekmasali5351
    @abhishekmasali5351 2 года назад

    Thanks so much sir

  • @thepoorguy2296
    @thepoorguy2296 2 года назад

    Thank you sir

  • @ayeshabajwa9075
    @ayeshabajwa9075 3 года назад

    WAy of teaching is too good 😍

  • @parameswarbarikbablu7538
    @parameswarbarikbablu7538 Год назад

    thank you sir ,to help us for our future

  • @hacktube9367
    @hacktube9367 Год назад

    Thanks alot,,,,,you made my concepts !!!

  • @Village012
    @Village012 3 года назад

    sir apko follow krty hovy 1sal hogy love frm pakistan

  • @bipulkumar8921
    @bipulkumar8921 3 года назад

    Very usefull vidoo sir

  • @muhammadtalha6317
    @muhammadtalha6317 2 года назад

    Tooo much great teaching too good

  • @shafqatullah6157
    @shafqatullah6157 2 года назад

    thank you so much sir .. love you hgya from pakistan

  • @abhirawat8649
    @abhirawat8649 3 года назад

    Amazing way for your teaching😍

  • @skilltolearn
    @skilltolearn 2 года назад

    sir I am very thankful to you for giving very informative video

  • @hafsakhadam3928
    @hafsakhadam3928 Год назад +1

    Thank you so much 😊

  • @Zohaibafzal7788
    @Zohaibafzal7788 3 года назад

    Sir really u r a good teacher.

  • @AbhayGupta-or3zp
    @AbhayGupta-or3zp Год назад +1

    Sir ek doubt h mera... Pls reply fast as much as possible..
    J start hua 2 se fr a[j] ki value ko key m store krwa diya... a[ 2] array k hisab se to 60 hoga na..😢

  • @Alishplay11
    @Alishplay11 6 месяцев назад +1

    TNX❤️

  • @ainayaseen6429
    @ainayaseen6429 8 месяцев назад

    Thanks....you explained it very well👍🏻

  • @haleemaghayyur1500
    @haleemaghayyur1500 3 года назад

    Outstanding Sir

  • @shaikhsanah3087
    @shaikhsanah3087 3 года назад +1

    Sir I really understand what you teach and I appreciate your efforts. I've a request can you please explain Loop invariant?

  • @salehakhatoon3452
    @salehakhatoon3452 Год назад

    Amazing 👍👍