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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 333

  • @Comedypoint06
    @Comedypoint06 ปีที่แล้ว +196

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

    • @shujaatalihashim428
      @shujaatalihashim428 6 หลายเดือนก่อน +9

      I have exam in 4 hours

    • @vidhidalsaniya4089
      @vidhidalsaniya4089 5 หลายเดือนก่อน +2

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

    • @Umairimran-j9i
      @Umairimran-j9i 5 หลายเดือนก่อน

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

    • @Mafiaking661
      @Mafiaking661 5 หลายเดือนก่อน +1

      Yesss tomorrow is my CS exam😂

    • @royal93987
      @royal93987 5 หลายเดือนก่อน +3

      Super legend watching 1 hr before exam 😂😂

  • @SmartTech-tv1tu
    @SmartTech-tv1tu 2 ปีที่แล้ว +102

    Best Teacher ever I have seen on TH-cam 👌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 ปีที่แล้ว +54

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

    • @itsfunny01
      @itsfunny01 7 หลายเดือนก่อน +2

      kya hua bro gate thoda ya nahi
      please reply .

  • @DevasheeshMishra
    @DevasheeshMishra 5 หลายเดือนก่อน +7

    Ultra legends watching in washroom on the day of exam

  • @122_jyoti5
    @122_jyoti5 4 ปีที่แล้ว +11

    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

  • @kalpanameena9854
    @kalpanameena9854 4 ปีที่แล้ว +3

    u are incredible ...one of best tutor on TH-cam

  • @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.

  • @mr.unknown6577
    @mr.unknown6577 4 ปีที่แล้ว +1

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

  • @safionweb
    @safionweb 4 ปีที่แล้ว +3

    Happy to see you making progress. Nice setup.

  • @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 :-)

  • @ISHA-n4p
    @ISHA-n4p 10 หลายเดือนก่อน +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

  • @ankitchaudhary6142
    @ankitchaudhary6142 3 ปีที่แล้ว +2

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

  • @sayansahu7389
    @sayansahu7389 ปีที่แล้ว +4

    Such a good explanation💪🏻

  • @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

  • @upsainiangaming2453
    @upsainiangaming2453 2 ปีที่แล้ว +2

    studying for up lecturer ,thanks for amazing lecture sir

  • @shalinimutyala2631
    @shalinimutyala2631 6 หลายเดือนก่อน

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

  • @smsadiofficial
    @smsadiofficial 2 ปีที่แล้ว +1

    Thank you Sir, it was very helpful

  • @swathyc9404
    @swathyc9404 4 ปีที่แล้ว +4

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

  • @AnjaliSingh-yk9jv
    @AnjaliSingh-yk9jv 4 ปีที่แล้ว +1

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

  • @mdsanaullarain-o6z
    @mdsanaullarain-o6z 7 หลายเดือนก่อน

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

  • @vandanabanny7550
    @vandanabanny7550 2 ปีที่แล้ว +1

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

  • @TasteVenture22
    @TasteVenture22 2 ปีที่แล้ว +2

    Thank u so much sir 😊

  • @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 👍👍

  • @divyaoffical0337
    @divyaoffical0337 2 ปีที่แล้ว +1

    thank you so much sir

  • @hafsakhadam3928
    @hafsakhadam3928 ปีที่แล้ว +1

    Thank you so much 😊

  • @MixInfo4554
    @MixInfo4554 2 ปีที่แล้ว

    The way of your teaching is of billions words.

  • @muntahariaz4332
    @muntahariaz4332 2 ปีที่แล้ว +1

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

  • @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]);
    }
    }
    }

  • @grandadmiralthrawn9688
    @grandadmiralthrawn9688 2 ปีที่แล้ว +1

    Very short and efficient lectures . Thanks a lot sir

  • @anushkamishra8257
    @anushkamishra8257 4 ปีที่แล้ว +3

    Amazing!

  • @scorpion-5
    @scorpion-5 4 ปีที่แล้ว

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

  • @skhojayfarahaman5867
    @skhojayfarahaman5867 3 ปีที่แล้ว +3

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

  • @SHAHIDRAZA-do9xe
    @SHAHIDRAZA-do9xe 4 ปีที่แล้ว +1

    Sir You are a great teacher

  • @anushkasrivastava8814
    @anushkasrivastava8814 3 ปีที่แล้ว +1

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

  • @thepoorguy2296
    @thepoorguy2296 2 ปีที่แล้ว

    Thank you sir

  • @indrajitpatil7533
    @indrajitpatil7533 ปีที่แล้ว

    Thank you 😍

  • @govindjangid6201
    @govindjangid6201 2 ปีที่แล้ว

    thanks you sir

  • @pagalgaming7228
    @pagalgaming7228 4 หลายเดือนก่อน

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

  • @praveensinghrathore4542
    @praveensinghrathore4542 3 ปีที่แล้ว +1

    PERFECT, Thanks a lot sir

  • @nileshpatil5716
    @nileshpatil5716 5 หลายเดือนก่อน +3

    Legend was those who reading on exam day

  • @navikajaiswal4941
    @navikajaiswal4941 4 ปีที่แล้ว +1

    Great sir!

  • @anshikasingh4289
    @anshikasingh4289 2 ปีที่แล้ว

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

  • @abdeali1301
    @abdeali1301 2 ปีที่แล้ว

    Great & Very Helpful Video,Thankyou sir.

  • @Abhijeet_P
    @Abhijeet_P ปีที่แล้ว +1

    🙏🏻🙏🏻

  • @enlightenedAshkam
    @enlightenedAshkam ปีที่แล้ว

    thanx for teaching cards as well

  • @ainayaseen6429
    @ainayaseen6429 9 หลายเดือนก่อน

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

  • @parameswarbarikbablu7538
    @parameswarbarikbablu7538 ปีที่แล้ว

    thank you sir ,to help us for our future

  • @kanchansharma8454
    @kanchansharma8454 3 ปีที่แล้ว

    thank you for explanation

  • @CMOMKARSHELKECM
    @CMOMKARSHELKECM 2 ปีที่แล้ว

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

  • @bibhutikumarjha7767
    @bibhutikumarjha7767 3 ปีที่แล้ว

    Sare doubt clear ho gya,Sir jee🙏🙏

  • @ersarthaksethi
    @ersarthaksethi 4 ปีที่แล้ว

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

  • @shafqatullah6157
    @shafqatullah6157 2 ปีที่แล้ว

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

  • @wilson7846
    @wilson7846 4 ปีที่แล้ว +1

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

  • @abhishekmasali5351
    @abhishekmasali5351 2 ปีที่แล้ว

    Thanks so much sir

  • @Nyukk11
    @Nyukk11 7 หลายเดือนก่อน +1

    TNX❤️

  • @shaikhshugufta3741
    @shaikhshugufta3741 4 ปีที่แล้ว

    My favourite teacher.....thanks

  • @Ajeet_coding
    @Ajeet_coding ปีที่แล้ว

    Thank you sir

  • @khushbookumari6938
    @khushbookumari6938 4 ปีที่แล้ว +2

    As usual awesome class with you sir 😊

  • @anandprakashchaudhary9757
    @anandprakashchaudhary9757 8 หลายเดือนก่อน

    great lecture

  • @abhirawat8649
    @abhirawat8649 3 ปีที่แล้ว

    Amazing way for your teaching😍

  • @muhammadtalha6317
    @muhammadtalha6317 2 ปีที่แล้ว

    Tooo much great teaching too good

  • @shraddhajaiswal8412
    @shraddhajaiswal8412 3 ปีที่แล้ว

    You are great sir your teaching style superub👌👌

  • @riyabosmia
    @riyabosmia 3 ปีที่แล้ว

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

  • @amedkar_1_world
    @amedkar_1_world 2 ปีที่แล้ว

    Your way of teaching is excellent and awesome ☺☺

  • @AdityaRajput55550
    @AdityaRajput55550 ปีที่แล้ว

    Thank you so much sir ur vedios are always too much helpful for me😀

  • @abidmalik1097
    @abidmalik1097 2 ปีที่แล้ว

    Thanks 👍

  • @rehanamulla6302
    @rehanamulla6302 4 ปีที่แล้ว

    Very nice explanation

  • @Harpreetkaur-fd5fu
    @Harpreetkaur-fd5fu 4 ปีที่แล้ว

    Very nice sir
    Great explanation 👌👌👈

  • @rupalijain2625
    @rupalijain2625 3 ปีที่แล้ว +5

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

  • @skilltolearn
    @skilltolearn 2 ปีที่แล้ว

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

  • @ayeshabajwa9075
    @ayeshabajwa9075 3 ปีที่แล้ว

    WAy of teaching is too good 😍

  • @PKTECHIE26
    @PKTECHIE26 3 ปีที่แล้ว

    Tq sir

  • @karanjadhav9661
    @karanjadhav9661 3 ปีที่แล้ว

    Thank you so much

  • @Village012
    @Village012 3 ปีที่แล้ว

    sir apko follow krty hovy 1sal hogy love frm pakistan

  • @videoeditor1994
    @videoeditor1994 3 ปีที่แล้ว

    Waooo nice sir thankyou

  • @kevaljivrajani5758
    @kevaljivrajani5758 2 ปีที่แล้ว

    Great one!

  • @kalashtyagi7605
    @kalashtyagi7605 3 ปีที่แล้ว

    Thankyou so much sir🤩

  • @dhruvilsolanki9887
    @dhruvilsolanki9887 ปีที่แล้ว

    mentor of all mentors

  • @Zohaibafzal7788
    @Zohaibafzal7788 3 ปีที่แล้ว

    Sir really u r a good teacher.

  • @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

  • @salehakhatoon3452
    @salehakhatoon3452 ปีที่แล้ว

    Amazing 👍👍

  • @vishuvyas9716
    @vishuvyas9716 ปีที่แล้ว

    You are great sir

  • @haleemaghayyur1500
    @haleemaghayyur1500 3 ปีที่แล้ว

    Outstanding Sir

  • @anwetasista912
    @anwetasista912 2 ปีที่แล้ว

    Thanks a lot for this sir💟

  • @bipulkumar8921
    @bipulkumar8921 3 ปีที่แล้ว

    Very usefull vidoo sir

  • @GAU-C--RATNAKANTAHANSE
    @GAU-C--RATNAKANTAHANSE 3 ปีที่แล้ว

    Thank you sir....

  • @pawannrajchauhan6102
    @pawannrajchauhan6102 2 ปีที่แล้ว

    jab tak aap blackboard par padathe tab tak bhaut acha lgtha hai seedha demak me jata tha but aab bhut confusion ho jata sara Data ek sath dekh kar ...Pls start again on board

  • @dhrubajotidas9265
    @dhrubajotidas9265 2 ปีที่แล้ว

    Nice explained

  • @12-bhujasrik43
    @12-bhujasrik43 4 ปีที่แล้ว

    Thank you so much bro

  • @gurleenkaur5151
    @gurleenkaur5151 3 ปีที่แล้ว

    bohot badiya

  • @bhagyashridhumase485
    @bhagyashridhumase485 4 ปีที่แล้ว

    You are genius....😊....nice.....

  • @rudra_official9383
    @rudra_official9383 2 ปีที่แล้ว

    Sir white board sath video banaoo, usmein jayada comfortable lagta he...... thank you sir

  • @GAGANDEEPGOWDAMLAIML--
    @GAGANDEEPGOWDAMLAIML-- 2 ปีที่แล้ว

    too good

  • @souravsinha18
    @souravsinha18 4 ปีที่แล้ว

    Great work sir

  • @wonderers_hub
    @wonderers_hub 10 หลายเดือนก่อน

    Love from Florida

  • @amishachaudhary5688
    @amishachaudhary5688 2 ปีที่แล้ว +1

    Explain insertion sort and implement it on following list of number is 75,18,17,42,24,17,7.

  • @mdsaadsabir9140
    @mdsaadsabir9140 4 หลายเดือนก่อน +2

    Legend watching it in computer lab 10 min before viva

  • @MomtazBegum-dc3zm
    @MomtazBegum-dc3zm 2 ปีที่แล้ว

    Excellent 👍👍👍 sir