7.5 Selection Sort in Data Structure | Selection Sort Algorithm with C Program

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • Discussed Selection Sort Algorithm with the help of C Program in Data Structures with example
    DSA Full Course: https: • Data Structures and Al...
    ******************************************
    See Complete Playlists:
    C Programming Course: • Programming in C
    C++ Programming: • C++ Complete Course
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    DAA Course: • Design and Analysis of...
    Placement Series: • Placements Series
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    *********************************************
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    #selectionsort #sortingalgorithm #datastructures

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

  • @YorkshiireZ
    @YorkshiireZ Год назад +44

    This lady deserves to be paid! She is so understandable and I'm paying people at my university to make me completely lost! Jenny we need more lecturers like you at UWI!!!

  • @explorer1685
    @explorer1685 2 года назад +771

    omg!1 i m paying lakhs of rupees every sem! and still my prof cant match ur way of teaching!! thank you maam

  • @shaditya1
    @shaditya1 5 лет назад +473

    Understood everything from the topic.
    If teachers like you are present in every Indian engineering college then India will surely be a superpower.

    • @gopalsanju5490
      @gopalsanju5490 4 года назад +7

      Thank you mam

    • @mohammadmohsinmohammedmohs9717
      @mohammadmohsinmohammedmohs9717 3 года назад +23

      Still wondering how learning to sort an array will make India Superpower

    • @anujakulkarni8988
      @anujakulkarni8988 3 года назад +20

      @@mohammadmohsinmohammedmohs9717 The point was if teachers like you present in indian engineering college.

    • @zeni-ee4vl
      @zeni-ee4vl 3 года назад +21

      also if every student pays as much attention in classroom as we do in an online youtube lecture before exam day :P

    • @Emperor723
      @Emperor723 Год назад +3

      agony: but in reality teachers are not like her.....

  • @ifrankenstine8748
    @ifrankenstine8748 3 года назад +101

    I wish i had a faculty like her in my university.
    She explained the problem so precisely 👏

  • @Starwork09
    @Starwork09 Год назад +27

    Jenny mam I started sawing your lecture day before yesterday ----- and I found out why Students call you a " GREAT TEACHER " ----- Brilliant explanation

  • @user-hw8bl9iy1t
    @user-hw8bl9iy1t 6 месяцев назад +362

    2024 STUDENT ATTENDENCE HERE⬇⬇
    Edit:- Mom your son is famous now.

    • @yogeshb780
      @yogeshb780 4 месяца назад +18

      No ,you are not.

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

      @@yogeshb780 well you are not my mom so keep your mouth shut

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

      @@user-hw8bl9iy1t idk why do you make such stupid comment that you are famous , i'm sick of watching these useless comments in almost every video.

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

      @@user-hw8bl9iy1t even if your mom would have seen this comment ,she would have said the same ,so stop making this stupid comments.

    • @yogeshb780
      @yogeshb780 4 месяца назад +23

      ​@@user-hw8bl9iy1tfirstly get your grammar right before commenting .
      Secondly ,even if your mom had seen this ,she would have said the same thing as I said .
      So ,stop thinking you became famous by making mindless comments.

  • @tithidas5914
    @tithidas5914 4 года назад +86

    mam, I have followed many online lectures....but I found your lectures useful and understandable. I was scared of array in the beginning but now I can do the coding part with only understanding the logic. I don't need to see the worked out code now. Thank you mam for my improvement.

  • @harleenkaur2948
    @harleenkaur2948 Год назад +24

    I've literally explored 4-5 videos but no one could do it like this. Thank you so much

  • @Ahmad_Bajwa
    @Ahmad_Bajwa 2 месяца назад +22

    Night before exam attendence

  • @augustoalmeida2586
    @augustoalmeida2586 4 года назад +14

    I really cant see anyone giving a dislike to her video. amazing explanation way better than my data-structure prof would provided.

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

      There are people who dislike Looney Tunes, imagine.

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

      @@rutwickgangurde3247 bruh there are people hating breaking bad so this is nothing lol​

    • @tarunkhandelwal1101
      @tarunkhandelwal1101 3 месяца назад

      @@burneraccount4625 😡😡😡

  • @kondowewilas-qe7hp
    @kondowewilas-qe7hp 3 месяца назад +1

    You great madam. School would have been simple if every lecturer was intelligent like you. Watching u from Zambia 🇿🇲🇿🇲🇿🇲🇿🇲

  • @sk-in3xv
    @sk-in3xv 8 месяцев назад +5

    "Thank you for being such a good teacher and making learning enjoyable."

  • @raghuhck
    @raghuhck 5 лет назад +41

    Thank you for explaining along with source code.. Really great.

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

    I extend my heartfelt gratitude towards you for explaining such critical concepts with precise details. As a student of a Tier-3 college, I cannot rely on our lecturers' shoddy teaching; not to mention I am also a slow learner.
    Writing the code is probably your biggest strength since not everyone will do that and translating the logic into code is extremely rare nowadays.
    I wish you the best of luck and hope you continue making amazing videos like this.

  • @nataliemeneses2396
    @nataliemeneses2396 4 года назад +39

    Thank you for making such a thorough explanation. I finally get it!

  • @aniketkolte8958
    @aniketkolte8958 3 года назад +6

    Finally Landed On the Best Tutorial !!!For Complex Problem
    💯💯🙌🙌Thanks Ma'am!!👍

  • @khangdeng8286
    @khangdeng8286 4 года назад +39

    i really appreciate your work and may God give you good health to keep helping people with the little you know

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

    I thought I know selection sort but now realize my way was wrong. Your approach and skills are interesting. I really do like and benefit from your video.

  • @AhmAsaduzzaman
    @AhmAsaduzzaman 8 месяцев назад +1

    Great explanation! Thank You!
    It would be beneficial to briefly summarize the advantages, applications, and complexities of the topic in your discussion
    for example:
    Benefits of Selection Sort:
    - Simplicity: It is straightforward to understand, making it a great teaching tool for introductory computer science courses.
    - Memory Efficiency: Selection sort is an in-place sorting algorithm, meaning it requires no additional memory space beyond what is needed for the original array.
    - Performance on Small Lists: It can perform well on small lists or arrays.
    - Predictability: It performs the same number of comparisons, regardless of the initial arrangement of the elements. This predictability can sometimes be advantageous.
    - Minimized Swaps: It makes the minimum possible number of swaps, O(n) in total, which can be beneficial in cases where writing to memory is a costly operation.
    Where It Is Used:
    Memory Usage is a Concern: in systems with extremely limited memory resources.
    Data Size is Small: for small datasets where the inefficiency of the algorithm does not significantly impact performance.
    Complexities:
    TIME: Best Case: O(n^2) - even when the array is sorted, it still goes through the entire (and the same for the average and the worst cases)
    SPACE: Worst Case: O(1) - It's an in-place sort (no additional memory is used beyond the input array).

  • @sivasaimanikantachalla969
    @sivasaimanikantachalla969 Год назад +16

    Wow what a teaching mam. I like ur teaching skills

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

    Really great job mam ! Iam searching for best tutorial videos, but by seeing this my search is ended ! Thank you so much mam !! For making India good , till now I never notice clear explanations from any faculties !.....

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

    Words fall short to explain your way of teaching.... Great.....

  • @sujansarathighosh6455
    @sujansarathighosh6455 5 лет назад +30

    Hello Jenny,
    Selection sort has advantage over bubble sort in terms of swaps, in worst case bubble sort has o(n2) swap and run time, but selection is used to overcome the swapping which is o(n) in worst case.
    In optimized bubble sort, you used flag which reduces the swapping so thats kind of same as selection sort

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

      Selection sort's worst, average, best cases are O(n^2)

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

      But the minimum needs to be found which is O(n). So it becomes O(n^2)

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

    The smile when u closed the class is superb mam... however I'm very thankful to u for this..I'm learning the concept from your videos.... im sending you loads of love from andhrapradesh..😊

  • @praveenmajnu
    @praveenmajnu 4 года назад +28

    I really really blessed to learn here...
    I've understood this 👆 well
    You're teaching the subject as you're 🥰😍😘
    Even non-Computer Science students understood well 😍

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

    You are the best teacher possible, better than some men who teach without passion

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

    God bless this woman 😭😭 I have a final tomorrow and I just wasted an hour thanks to our bloody awful teacher’s awfully complicated teaching of this goddamn simple concept. My prayers are to you!!! ❤

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

    She is the best. Mam, please don't stop teaching. You are a blessing for me. In fact, I believe you are a blessing for every cs students.

  • @TalhaKhan-1996
    @TalhaKhan-1996 5 лет назад +4

    Hello mam Jayanti (Jenny) n asalamualiqum. Thank you so much for your help.. Mam you saved my today's missed class.. Mam I am an undergraduate student of BSCS from Pakistan 🇵🇰🇵🇰.. Lots of love and respect for you from Pakistan.. I hope inshahallah in this semester my course of data structure will be completed with a good score.. So keep helping us like this.. You earned one more student and subscriber as well 😊 Thank you so much Mam

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

    I believe that your classes are the best for those topics you handled ,its really effective 👍😃😁👍👍

  • @KetemaBogale
    @KetemaBogale 2 месяца назад

    I am from Ethiopia thank you for your best best education! I haven't seen such a great teacher!❤❤❤

  • @rathirohitbhojraj8457
    @rathirohitbhojraj8457 4 года назад +11

    in selection sort similarly like bubble sort we can create an optimised code by using flag variable .
    setting flag =1; in inner for loop

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

    This tutorial was soooo clear and understandable! This code worked for me and I understood everything step-by-step.

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

    Thank you mam,,, you are very helpful to me. your teaching style is just awesome,,,,

  • @ShekhAbrar822
    @ShekhAbrar822 3 месяца назад

    Very nice, detailed, in a complete way explanation.
    Not only for this video but for all the videos that I watched and would be watching next

  • @jxtin1007
    @jxtin1007 3 месяца назад +1

    hey thank you for creating this video im having my exam tomorrow i came to your video by your thumbnail i dont know i will study or not but keep doing this have a nice night!!!

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

    What an amazing explanation, I've never got any programmer teacher like you!!!!

  • @mutalemwenda4180
    @mutalemwenda4180 4 года назад +11

    This is awwwwwwsome ! great staff! excellent explanation, beautiful lecture, very passionate! thank you so much. Just a small appeal mum use English in all the videos. You are one in a million!

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

    mam you are teaching was really awesome, i have clarified all of my doubted concepts which are not even get clarified through my lecturers .. heartfully i appreciate your work mam. its simply superb .. keep on helping the students like us .thank u mam

  • @indrabhushanyadav
    @indrabhushanyadav 5 лет назад +5

    Thank you so much for providing such Great video on data structure to make it easy to understand...Keep it up..👍👍👍

  • @JordanMorris-nzer012-_-PSN
    @JordanMorris-nzer012-_-PSN 3 года назад

    You are the best Computer Science teacher on RUclips. Simple.

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

    I can't thank you enough for this I was stuck at this simple algorithm but you made me understand it very weell.

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

    I unexpected found this mam class for how to understand the logic of array .but now I am very happy because I got this logic of
    array with detailed class that's why a lot of thanks for your effort🎉🎉🎉🎉🎉👍🏻👍🏻👍🏻😊

  • @tomriddle62442
    @tomriddle62442 4 года назад +7

    Hats off! to you ma'am, you are a great lecturer....

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

    Madam
    You teach very well👌... and understand your teaching quickly. Keep explaining the same to everyone.👍👍👍

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

    Wow, your teaching style is a peace of cake.
    Watching from Ethiopia.

  • @ayeshaqamar9224
    @ayeshaqamar9224 11 месяцев назад +1

    I wish mam will read my comment ❤ seriously she is a great teacher I love her teaching method god bless you love from Pakistan 🇵🇰🇵🇰

  • @ShivamYadav-ud8wn
    @ShivamYadav-ud8wn Месяц назад

    amazing clear instruction just understood the whole sorting concept

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

    Best teacher for DSA..
    The full playlist of DSA is best tutorial ...

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

    one of my favourate teacher🥰❤

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

    oh my god i have seen many videos but no one video is compared to you .just now i feel more confident to study at algorithm

  • @tanishkale8977
    @tanishkale8977 15 дней назад

    Best teacher for DSA!

  • @CloroxBleach-ox7cf
    @CloroxBleach-ox7cf 8 месяцев назад +1

    Ma'am that code explanation was amazing! Much thanks.

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

    after roaming from so many channels i found this beautifull and knowledgefull channel just loved the way of teaching i understand everything

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

    Ma'am I think you are one of the best Teachers in RUclips for IT.Hope u will make more videos on languages like java,R etc...Thank you ma'am .May God Bless You.❤️

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

    Mam thank sooooo much😂, I don't know I already knew that concept but I still watching your techs 😂❤️

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

    Thank You so much ma'am for your great support. You make it very simple. Thank you again 🙏🙏❤️.

  • @krishnagiri-nm1kc
    @krishnagiri-nm1kc 4 года назад +1

    i was kind of bored to this algorithms n all but u r the one who made this very interesting

  • @parikshitkharat6448
    @parikshitkharat6448 9 месяцев назад +1

    Thankyou so much mam for clearing my douts

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

    Thank you so much for making all the concepts so easy and understandable!!!

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

    Jenny you are such a spelbiding teacher, i am so happy to follow your lectures, you make things look so easy. Send you my appreciation from Greece.

  • @KrishnaMalgi-lp2vo
    @KrishnaMalgi-lp2vo 2 месяца назад

    I am feeling guilty for paying lakhs in colleges and i loved the lecture here and felt worth with free of cost and aweosome explaination

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

    Very very very nice teaching and teaching method dear madam. Thank you so much.

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

    Truly appreciate your way of teaching! Thank you ma'am.

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

    Really mam your explanation is very good, I am clearing all my topics with your videos...... Thank you so much for these videos.....

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

    Very nice lectures ma'am. Really ur lectures are truly easy to understand the concept and also saves time .🔥🔥🔥

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

    Never seen a good teacher, like you mam,thank you soo much mam

  • @mahimsd7645
    @mahimsd7645 5 лет назад +6

    Gr8 work ...
    Greater Explanations .....
    U r saving Students .......

  • @vishalsuryawanshi8408
    @vishalsuryawanshi8408 4 года назад +7

    You really teaches from heart thus, you also make us encourage to put our efforts too keep it up Jenny ma'am.

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

    Felt amazing ☺️ first time i have understood the logic because of u ,my lecture won't tell this logic anyway, Continue work mam 💓💓😍, thanks u so much

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

    I like your lecture for algorithm, very clear with step by step.

  • @deepakborah8335
    @deepakborah8335 5 лет назад +2

    Helpful video in data structure.Thanks madam for providing algorithms on all sorting
    techniques.

  • @yohanmaharanasingha9343
    @yohanmaharanasingha9343 Месяц назад +1

    Thank you
    From Sri Lanka

  • @Toj1fush1guro69
    @Toj1fush1guro69 3 года назад +13

    At last her smile got me into my heart

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

    Thanks Mam..I am very impressed when I listen your lecture. Youre a Great Lacturer .. Amazing..!!!
    More Respect and Love from Bangladesh 🇧🇩

  • @gf5876
    @gf5876 Месяц назад

    I thought you were overrated by those Instagram reels i saw but damn ! ❤ur good at teaching ma'am . Wish u were teaching in my college!

  • @user-wl6wo4ok6m
    @user-wl6wo4ok6m Год назад +8

    #include
    #include
    void main()
    {
    int x[25],i,N;
    void SelectionSort(int[],int);
    printf("
    How many no do you want to ENter?(Max25)");
    scanf("%d",&N);
    //input//
    printf("Enter %d integer nos: ",N);
    for(i=0;i

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

    Mam u are the super hero of teaching arena. Great teacher

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

    making the toughest subject easy , thank you

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

    Very clear explanation👌 owesome method of teaching..but one suggestion is that watermark should be at down of the right corner so not interrupting the screen.

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

    You are really genius....I really like your smile at the end of the video..Thank you so much...Mam

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

    I understood it ..vry easily.. by ur explanation maam.... Srsly .. u explain all the topics in a vry easy manner ...

  • @naderabdalhamed8410
    @naderabdalhamed8410 5 лет назад +11

    thanks from egypt

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

    I have refered more than 10 video to clarify this topic..but no use
    Just once i watched your video and i pickedup soon..thankyou soo much mam

  • @salamkhan-fw5ss
    @salamkhan-fw5ss 3 года назад

    Immense respect from Pakistan thanks to devote you precious time to the students

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

    Really nice explanation mam amazing jo clg me samaj me nahi aaya wo aapke lec me ekdam sahi method se samaj me aa gaya👍thanks mam

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

    Love you mam ❣️❣️❣️
    The way your teaching is very lovely
    A person who have just average knowledge in English they will easily understand your language

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

    One can get notes from many websites on Google but explanation of program is not given there, hence it's difficult to understand the program.
    Understanding the program is most important, you explained the program very well👍.

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

    Thankx mam. I was struggling so much with sorting. But your explanation clears each and every doubt.

  • @pranitgundare
    @pranitgundare 3 года назад +6

    Jenny's Lectures = Legendary :) :)
    Thank you so much...♥

  • @RathourShubham
    @RathourShubham 5 лет назад +4

    Chalo yaar ab aaj to xam ho gya mera.... Thanks to you for ur explanation of 0/1 knapsack and Topological Sort... It was gr8... 😊😊

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  5 лет назад

      Waiting for your results

    • @RathourShubham
      @RathourShubham 5 лет назад +1

      @@JennyslecturesCSIT Got 10/10 credits in DAA, result announced today.... kudos to you... overall 9.24 SGPA... 😍😘😘

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

      @@RathourShubham which channel do u refer for Python?

  • @YASH-wg6cx
    @YASH-wg6cx 8 месяцев назад

    Thank you so much for making DSA concepts so easy and understandable!!!😃👌

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

    That is awesome!!

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

    Truly I have been widely benefitted from your lectures. Thanks a lot Madam . I would be happy if I could give you some GuruDakshina.

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

    Youre so good at teaching maam, i understand everything that u have discussed, love from philippines

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

    you the best lecture in the world

  • @julianastley6773
    @julianastley6773 5 месяцев назад

    You taught so well and it was really comprehensive,ma'am.

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

    no word is enough to express your teaching style,i would like say thankyou!

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

    The reason why came here was because idk how the n-1 came in for loop now i got it!!! Thankyou mam

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

    Best online teacher of all times