SELECTION SORT WITH EXAMPLE

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

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

  • @reaperstrainx2167
    @reaperstrainx2167 6 ปีที่แล้ว +41

    I hope you teach at a University. You would have been my favorite teacher.. The moment you said lets trace this logic with a simple example at 20:45. You became a Master Professor with Tenure in my heart.

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

      Same thing I found
      I have not understood the program
      Until it was traced😍

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

    Sr, your way of teaching is unique from others 👌👍

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

    I like your way of teaching

  • @hanageb-t4v
    @hanageb-t4v ปีที่แล้ว

    You are my best!!! you explain the logic with tangible steps makes simple to understand. KEEP ON you are above and beyond the computer sciences professors.

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

    Thank u won't be enough it seems, you are faaaaaaaaaaaaaaaaaaaaaaar better than my teachers Sir.. May God bless u ❤️

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

    You and your classes are very important to a students like me where we don't have a good teaching professors in my clg . U people are doing a great job . Making the students life brightful through your wonderful lectures . This kinda work is really really great. We are grateful to you sir.. thank you very much sir

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

    Big fan

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

    Thank you Sir 🙏🙏🙏🙏♥️😊😊♥️

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

    Thank you sir..🙏
    for this informative video thank you so much...sir

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

    Sir your teaching is super

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

    Super explanation sir

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

    Good explain

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

    Sir,Yr teaching is great. Very useful and more interesting to see yr videos

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

    Legend you are sir Great explanation ❤️

  • @KanhaiyaKumar-xy5qk
    @KanhaiyaKumar-xy5qk 5 ปีที่แล้ว +2

    I watch all lecture of data Structures
    It's really helpful for me.

  • @Bca_buddy45
    @Bca_buddy45 2 หลายเดือนก่อน

    Sir ur way of teaching is amazing ❤

  • @Sridevikrish21
    @Sridevikrish21 11 หลายเดือนก่อน

    Sir your way of teaching is amazing🥰

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

    Too perfect explanation sir tq sooo much

  • @Vicky-nl2cc
    @Vicky-nl2cc 6 ปีที่แล้ว

    sir apne bahut accha samjate hai thank you sir
    I love your channel

  • @maashgroup7472
    @maashgroup7472 6 ปีที่แล้ว

    Nice video sir, we appreciate u always, perfect way of teaching, 🙏🙏🙏🙏🙏🙏🙏 Tnx sir

  • @abramesh2869
    @abramesh2869 6 ปีที่แล้ว +6

    Hi sir when 10

  • @RECOMMENDED_ACC_IMA
    @RECOMMENDED_ACC_IMA 5 ปีที่แล้ว

    Great sir...you give the real meaning of the word teacher

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

    I am very thankful to you sir🙏🏻

  • @Krishnakrishna567-g9g
    @Krishnakrishna567-g9g 4 ปีที่แล้ว

    Nice explanation sir an average student can also able to understand very clearly....

  • @NareshKumar-bl3sy
    @NareshKumar-bl3sy 6 ปีที่แล้ว

    very nice sir

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

    Sir outer loop
    For(I=0;I

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

    i am getting my concepts clear here!!!❤👌

  • @m.bhavanasri3422
    @m.bhavanasri3422 2 ปีที่แล้ว

    Sir after modifying the min in inner for loop like in first iteration min becomes 2 when j=2 Again when continuing the process for j=3,3

  • @doangmawar8716
    @doangmawar8716 6 ปีที่แล้ว

    Wow! I am loving your lectures

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

    Nice explanation sir.

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

    You deserve much respect

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

    Super explanation sir.

  • @krishnarajput9482
    @krishnarajput9482 5 ปีที่แล้ว

    very good explanation sir

  • @nandakhose7719
    @nandakhose7719 6 ปีที่แล้ว

    Thanks sir.......really very helpful

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

    Thank you sir... this is really helpful..

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

      hi
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @happyupbringing5808
    @happyupbringing5808 6 ปีที่แล้ว +7

    Nice explanation sir.. May i know complexity of selection sort and which is better sort.. Either bubble, insertion or selection sort

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว +6

      Best Average Worst
      Selection Sort Ω(n^2) θ(n^2) O(n^2)
      Bubble Sort Ω(n) θ(n^2) O(n^2)
      Insertion Sort Ω(n) θ(n^2) O(n^2)

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

      @@sundeepsaradhi thank you sir 😊

  • @viveknath9136
    @viveknath9136 6 ปีที่แล้ว

    Sir you the best

  • @shaikallibasha6883
    @shaikallibasha6883 6 ปีที่แล้ว

    Nice explaination sirrr...

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

    Good explanation #scratchlearners

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

    After assigning min = 2,the next iteration of j will have a[min] as a[2] not a[1].
    Each time we should compare the value with last found minimum value.that is min.if next value is less than min..then min=j that value.

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

      I was thinking the same

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

    thank you so much sir... you make awesome videos and i did suggest my friends too which was really helpful .... in this video theirs a correction in logic of itteration 2 i=1,1

  • @chiragbaghel8084
    @chiragbaghel8084 5 ปีที่แล้ว

    What is the algorithm of selection sort

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

    Sir wiil you teach Java , data mining,r program, python etc

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

    Why it’s size-1

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

    Thank you sir🙂🙂🌝

  • @akashthumma1952
    @akashthumma1952 5 ปีที่แล้ว

    This video is helpful
    We are expecting all concepts of Data structure like this.
    Thanku!

  • @jayanthteki503
    @jayanthteki503 6 ปีที่แล้ว

    sir your explaination is fantastic Sir..... Sir plz upload, diff types of pattern printing

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

    Sir plz rply me sir in my clg they said datastructures through java programing manner we can also write through c lang also na sir plz rply sir

  • @Koushik-0710
    @Koushik-0710 6 ปีที่แล้ว +2

    Love your classes sir, I wish as like u some1 should come to teach me

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

      hi
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

    Sir let me tell you something
    Ur explaination is very nice and anyone can understand topics
    But here problem is u should execute in editor
    Becz ur programs causing lot errors so if when u teach in editor u will know that

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

    Thank you sir

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

    Sir pz ..keep the program wtever u r writing on screen ..to note down for us

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

    All good sir, but there's a very minor mistake at iteration 1..... J=3,3

  • @yogendrapatel70
    @yogendrapatel70 5 ปีที่แล้ว

    Sabhi program board per btaya Karo sir plzzzzzzzzzzzzz ....

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

    Very well explained sir☺..please try to make a video on merge sort

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      Hi dilkesh
      Hope you find the video on merge sort. Thanks for your support and interest towards our channel and share our channel with your friends. Keep following our channel.

  • @gouravdhar5945
    @gouravdhar5945 5 ปีที่แล้ว

    Thank you sir.........u are genious...

  • @pritish_khedekar
    @pritish_khedekar 5 ปีที่แล้ว

    nice explanation sir......
    can you use bigger white board........to explain....?..please...!

  • @dheerajkasaudhan1244
    @dheerajkasaudhan1244 6 ปีที่แล้ว

    Sir please data structures ka bhi video daliye

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

    Sir why are we assigning "min=i",
    Can we use "i" directly sir?

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

    If not please try to teach for us . it's my request from me sir

  • @yashshende2786
    @yashshende2786 6 ปีที่แล้ว

    sir why dont you use
    // a[i]=a[i]+a[min];
    // a[min]=a[i]-a[min];
    // a[i]=a[i]-a[min];
    instead of third variable

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

    And also happy teachers day😄

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

    Sir descending order ki example b karwa day

  • @mathsanalytics3545
    @mathsanalytics3545 6 ปีที่แล้ว

    Thank for your explanation sir, but there is small correction, outer for loop need not to iterate for 5 times 4 iterations is enough then 5th element will automatically settle in its appropriate postion.

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

    sir if u dont mind i want to give a suggestion that light is disturbing so much
    please resolve this problem immediately sir

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

    Please make a video on Linked List in C , thats an important topic leftout in your playlist sir !

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi
      sure and soon i will try to upload the data structures concepts.
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @kaushikshetti
    @kaushikshetti 6 ปีที่แล้ว

    I think when j becomes equal to 3 min value gets updated

  • @raonemusic3210
    @raonemusic3210 6 ปีที่แล้ว

    i love you sir g

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

    Sir for selection sort is is n-1 if n=5 we need to do 4 passes sir

  • @retuparnadutta2035
    @retuparnadutta2035 6 ปีที่แล้ว

    sir your explanation is too good....i want to know the program of quick sort

  • @sureshprasad3877
    @sureshprasad3877 6 ปีที่แล้ว

    Thanku sir

  • @k.verendrareddy3118
    @k.verendrareddy3118 6 ปีที่แล้ว +1

    2nd view

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

      hi verendra
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

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

    8 9 5 6 7 ......try this it doesnt gt sorted with above code
    i think swapping should happen after every iteration of innner for loop.
    correct me if i am wrong

  • @poojasri48
    @poojasri48 6 ปีที่แล้ว

    hloo sir in this simple bubblesort will come in exam are not plz tell me sir

  • @hemanthyernagula9759
    @hemanthyernagula9759 5 ปีที่แล้ว

    I think selection sort and insertion sort, both are same, am I correct?

  • @cm-026erlasravani7
    @cm-026erlasravani7 4 ปีที่แล้ว

    Tq sir

  • @namangarg4845
    @namangarg4845 6 ปีที่แล้ว

    sir if the element are 5,3,1,2,6,4 . so in that case there will be 3,5,1,2,6,4 in first iterations. But you are telling that lowest element will pe put in first position in first iterations.

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

    sir!!!! what is the version and name of your c editor .its better than what i am using
    please help me out with it.

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi venkatesh
      i am using Turbo C Compiler
      but you can use any compiler.
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

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

    Sir why we are starting i=0
    But in bubble sort we started i=1
    So what is difference between them
    Plz reply

  • @RamKumar-lb8gk
    @RamKumar-lb8gk 4 ปีที่แล้ว

    Sir please make a video on infix prefix and potfix

  • @bahubaliak6552
    @bahubaliak6552 6 ปีที่แล้ว

    Ty sir

  • @VideoLanxer
    @VideoLanxer 6 ปีที่แล้ว

    Really really helpful

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

    In 2nd iteration you took i=0 ,1

  • @swananddongare3795
    @swananddongare3795 6 ปีที่แล้ว

    Sir plz make video about linked list please sir...🙏😫

  • @purufrozen1508
    @purufrozen1508 6 ปีที่แล้ว

    You should make more vedio on Algorithm.

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

    Python and c language selection sort program is same

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

    Thanks in advance.. Plz answer

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi priya
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @balamurugant6258
    @balamurugant6258 6 ปีที่แล้ว

    how to find sir this question...

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

    I wrote same program in my exam,and my lecturer gave 0 marks for this program.Is this program is correct ?

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

    I need pdf one🙏

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

    How many vtu ppl watching this before the exam XD

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

    Let's me your email

    • @sundeepsaradhi
      @sundeepsaradhi  6 ปีที่แล้ว

      hi
      my email : askme.selflearning@gmail.com

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

    Thank you sir

  • @vidyasrivastava6716
    @vidyasrivastava6716 5 ปีที่แล้ว

    Thanku sir