Count Sort Algorithm

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 632

  • @VipinSingh-qf5pl
    @VipinSingh-qf5pl 2 роки тому +199

    I was born just 2 minutes ago and doctor showed me this video and i understood count sort. Thank u Harry bhai.🙂

  • @waterplaneyoutube
    @waterplaneyoutube 4 роки тому +49

    BHAIYA JI ..
    AAP EK AISA KAAM KAR RAHE HAI .
    JO KI LOG PAISE LE KAR BHI DHANG SE NAHI KARTE.
    GOOD CODING TUTORIAL.
    LOVE FROM UTTAR PRADESH

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

      @@YashMaheshwari_15_85 bhai itne nhi milte.

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

      @@yogeshbisht8306 my only point is that "No one work for free".

    • @arponkumarchowdhury2813
      @arponkumarchowdhury2813 4 роки тому

      @@YashMaheshwari_15_85 just shut up your mouth.........if you comment any UA-cam video.......u pay????????

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

      @@arponkumarchowdhury2813 Bro I m typing not speaking, so plz think before u type😏

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

      @@arponkumarchowdhury2813 And commenting a video is not a big deal for which I should pay

  • @manthangevariya1435
    @manthangevariya1435 3 роки тому +76

    12:43 you can use calloc instead of malloc, if you use calloc then you don't have to set every element value equal to 0 because the compiler will automatically set all the elements in array equal to the 0

  • @rishabhpatel2367
    @rishabhpatel2367 4 роки тому +23

    please complete the course as soon as possible.

  • @swapnilshinde2540
    @swapnilshinde2540 4 роки тому +18

    you are amazing, your way of teching is very perfect and fun. thankyou for making such amazing videos

  • @mayankkumarkhurmai8270
    @mayankkumarkhurmai8270 4 роки тому +51

    Sir please requested you to complete this Playlist as soon as possible

  • @DPCSHY-Hafizullah
    @DPCSHY-Hafizullah 2 роки тому +1

    Sir maine aapka pura video dekha DSA and java
    Very helpful for me thanku so much sir

  • @swapnildey3155
    @swapnildey3155 4 роки тому +68

    we have interview soon, upload all data structure vdos as quick as u can

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

      Same here bro

    • @dipanshupandey7952
      @dipanshupandey7952 3 роки тому +16

      Please lagate h bhai

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

      SAME

    • @souled_blink
      @souled_blink 2 роки тому +5

      Where you all were during the 4 years of engineering and now relying on others courses for your job interview.
      Are you all passionate about your career or not .

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

      @@souled_blink Gyan mat dijiye

  • @cristinarosales1423
    @cristinarosales1423 4 роки тому +13

    Awesome explanation!
    Our exams are gonna start within a week or two... Can you please complete this playlist before other!! Please!!!

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

      Yaah pls sir ... complete the course

  • @deepak_patilpatil2993
    @deepak_patilpatil2993 3 роки тому +3

    the best simplest explanation bro ,keep doing it you are gonna achieve great success, i feel strongly and pray for u

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

    concept is easy but code is very logical, and i solved it in a same way before watching your answer superb

  • @shreyashtiwari9440
    @shreyashtiwari9440 4 роки тому +4

    Your videos are really very helpful. Pls sir upload videos daily so the continuation will not break. I hope you can understand.

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

    Thanks for this wonderful video. May gbu with lots of success love and life. Keep Rocking

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

    Harry Sir, You are legend in Programming
    Take a bow

  • @nomad-7303
    @nomad-7303 4 роки тому +3

    bhai waiting for the next video, please post soon! love from Bangladesh

  • @ij953
    @ij953 2 роки тому

    this way is the simplest, I have seen a couple of videos on count sort, and I only understood the concept when I saw yours , thanks

  • @sandeepvish15
    @sandeepvish15 4 роки тому +4

    Harry bhai thank you ❤️ for this data structure course
    Please data structure Ka course jaldi Pura Kar do

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

    bhai ds algo videos ki frequency ko please thoda badha dijiye because you are the best among others on youtube

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

    ekdum perfectly samjh me aya. I was struggling a lot to get the logic but now it is crystal clear. Many thanks to you sir .God bless you🙂🙂🙂🙂💕💕💕

  • @rkgaming35634
    @rkgaming35634 4 роки тому

    Bhai apka vidio itna itrusting hota he har chiz smj aa jata he thaks for help full vidio bro... Big fan of you.... Keet it..

  • @vedantparatkar7266
    @vedantparatkar7266 4 роки тому +2

    yaar bahut acha kaam kar rahe ho bhai,hash table ke bhi dalo bhai video

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

    Sir, you make it so easy-peasy to understand . Thank You So Much 😍😍

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

    plz upload trees concept as we students have our final exams in December. Highly appreciated.

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

    Harry bhai it's because of your teaching which makes it easy nursery concept

  • @atharvatirkhunde4517
    @atharvatirkhunde4517 3 роки тому +4

    Instead of initialing zero for each index we can write ,
    int count[max + 1] = {0} ;
    it works fine !
    thank you harry

    • @anexocelisia9377
      @anexocelisia9377 3 роки тому +3

      I'm to failing to visualize how this algorithm works. Could you please help me with that?

  • @zainulabideen5895
    @zainulabideen5895 9 місяців тому +1

    Instead of using malloc() we can use calloc(), calloc() will initialize the allocated blocks with zero and we don't have to do it using a loop manually.

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

    ...bro please Please complete DSA playlist as soon as possible , bcz this is very important for interviews, other things we can learn later

  • @numanmahfuz8118
    @numanmahfuz8118 4 роки тому

    Very Good Quality Content. thanks from Bangladesh

  • @hrithikrudra4292
    @hrithikrudra4292 4 роки тому

    Get well soon harry bhai.✌️
    Bohut mast tha count sort..✌️✌️

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

    Nursery me count short pad sakte hai par teacher Humko Harry bhai chaiye 😎😎😎😎code with Harry is best....! ☺

  • @chiku.2006
    @chiku.2006 4 роки тому +21

    Android Development Course With Notes

  • @SoothingWaves4226
    @SoothingWaves4226 6 місяців тому +1

    Counting sort is typically designed for non-negative integers because it relies on indexing into an array. However, it can be adapted to handle negative numbers by adjusting the range of the count array

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

    Ye to super asaan h !!

  • @RahulML25
    @RahulML25 5 місяців тому

    5 minutes pahe jnma bacha vi sikh jaega count sort. Thanks cwh!

  • @Acoustic_ash
    @Acoustic_ash 4 роки тому

    wow bhaiya...superb explaination..maaja agaya :)

    • @Raminder55
      @Raminder55 4 роки тому

      Brother what if there is a negative element in array

  • @anmolsinghal484
    @anmolsinghal484 4 роки тому

    Boht sahi explanation dete ho yar aap bhaiya. Maza aagya 🔥🔥

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

    This is very simple , even a nursery class kid can count the numbers and tell how many times they are present in array

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

    10:39 u can even do int max = sizeof(int); it also works

  • @amit6917
    @amit6917 4 роки тому

    Harry brother really you are awesome... I got a job after learn your php tutorial ❤️❤️❤️❤️❤️💋

  • @RahulThakur-ze2kk
    @RahulThakur-ze2kk 4 роки тому +5

    Hello Harry brother..
    In your "complete roadmap" playlist, you said well about data science...
    What if we target, machine learning(ML) or artificial intelligence(AI). Please make a video for the roadmap for those targets as well.
    Searching on google is bit difficult, as it does provide the exact answers we want.....
    So PLEASE....... a request to you....

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

      HEllo brother....
      what are you doing now.
      Have you achieved your goal.
      please reply :)

  • @priyanshukoshta2307
    @priyanshukoshta2307 3 роки тому +10

    can we use first element max = A[0] instead of using max = INT_MIN ?
    I think A[0] can also be used

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

      You're right any random garbage value also works.

  • @ShivaKumar-qq8qm
    @ShivaKumar-qq8qm Рік тому

    this video helped me alot .....thanx harrry bhai

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

    Priniples of recursion, tail recursion , removal of recursion, fibonacci number, hanoi towers, tradeoff b/w iteration and recursion, problem solving using iteration and recursion such as binary search yeh sb topic bhi bta do harry bhai

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

    Amazing Bhai ♥️

  • @rvislive_
    @rvislive_ 3 роки тому +6

    13:33 we can also use calloc to avoid next for loop and dynamically assign to Zero in all index. isn't?

  • @abhijeetsoni2724
    @abhijeetsoni2724 4 роки тому

    Sir i have completed till now all vedios and plss upload all the vedio directky so that we can learn fast as we have test of company

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

    Your doing great work buddy .. thanks ...Keep it up

  • @mayankjoshi8888
    @mayankjoshi8888 4 роки тому

    Wonderful video bhaiya ji

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

    Bohot hard teaching

  • @Suraj-to6gb
    @Suraj-to6gb 4 роки тому +5

    Please complete DSA playlist as soon as possible , bcz this is very important for interviews, other things we can learn later

  • @PiyushKumarMishra-g5e
    @PiyushKumarMishra-g5e Рік тому

    very easy after your explanation

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

    1st comment harry bhai. Please 1 💙dy do.
    U are the my Fevrat 😍teacher.
    And i love last music🎶 end of the video vale. 😂😂😂
    Thank you❤

  • @jadhavkamini2199
    @jadhavkamini2199 4 роки тому

    You changed my life thanks 🤗

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

    Bahut easy !!!!

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

    raaaaapchikk explanation bhai..

  • @Sans_K5
    @Sans_K5 2 роки тому

    I am in nursery class sir and I fully understand it thanks sir💜⚡️🤘

  • @muhammadshoaib4837
    @muhammadshoaib4837 4 роки тому

    Please complete this course as soon as possible

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

    Owsome video ,
    Harry bhai radix sort pr video bnavo na plz

  • @yatik01
    @yatik01 2 роки тому +8

    12:38 we can use calloc to avoid 'for' loop and every element of count array will be automatically initialized to 0.

  • @serenesoul-yt
    @serenesoul-yt 3 роки тому

    super asaan hai bhai ....

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

    i am very exited.........

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

    Hlo harry bhai mene apka python wala course dekha tha aur ab mein 55lks per anm kibsalary per hu in n core games making fau g

  • @Tuuuuusssjjjjjjnrnfnnfnfn
    @Tuuuuusssjjjjjjnrnfnnfnfn 4 роки тому

    sir please make sql series...muje bht man h seekhne ka aur aapke hi code smjh ate h bus..plz sql series i know hectic h apke lie par isko consider karna bhai plz

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

    it is too easy bcz of you.......

  • @dn2358
    @dn2358 4 роки тому

    Thank you Harry bhai.. Very nicely explained

  • @sanaullahshoro7056
    @sanaullahshoro7056 4 роки тому

    Harry bhai I'm your big fan from sindh pakistan

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

    Harry bhai DSA ki playlist end tak leke jao pls sbse important topic hai......

  • @sibashisnayak7449
    @sibashisnayak7449 2 роки тому

    This is super easy 👌👍

  • @mandar.vaidya
    @mandar.vaidya 4 роки тому

    kadak , maja aa gaya :)

  • @ZeeshanKhan-ik7br
    @ZeeshanKhan-ik7br 4 роки тому +1

    Bhaiya trees ka bhi video upload kijye!!! Please 🙏🏻🙏🏻🙏🏻🥺🥺

  • @cosmickingthor6676
    @cosmickingthor6676 11 місяців тому

    really easy , thanku harry bhhai

  • @coderzadda
    @coderzadda 4 роки тому

    Harry bhai tussi great ho

  • @ShaksD-vf3go
    @ShaksD-vf3go 5 місяців тому

    Goat=harry bhai❤❤

  • @aniketdeshpande9354
    @aniketdeshpande9354 4 роки тому

    Harry bhai ..ek video difference between angular and angular js pe bhi banao and if possible dono ke tutorial series bhi bana do please

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

    10:40 Can we use max = A[0]

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

    Yar ye count sort to nursery me padhana chaiye tha😂
    Bhaiya mei IIT ROORKEE se hu aapka shukriya

  • @privicyismyth9958
    @privicyismyth9958 4 роки тому

    Thanks harry sir for telling us about cout sort

  • @arjunuzumaki2865
    @arjunuzumaki2865 4 роки тому

    Thank you sir.... You are the best

  • @harshbalolia8800
    @harshbalolia8800 4 роки тому

    Hello Harry Sir ! Good Morning...

  • @kalyanikar6599
    @kalyanikar6599 4 роки тому

    Best explanation ever !

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

    Thank You So Much Brother

  • @royfamily9273
    @royfamily9273 2 роки тому

    Thanks Harry Bhaiya

  • @haricartoonking810
    @haricartoonking810 4 роки тому

    Sir video is awesome sir sir one more thing sir can u please make a video on how to do digital marketing please sir requesting you sir🙏🙏🙏🙏🙏🙏

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

    bro please Please complete DSA playlist as soon as possible , bcz this is very important for interviews, other things we can learn later

  • @NITISHKUMAR-vu8gy
    @NITISHKUMAR-vu8gy 4 роки тому

    sir gajab thanks for every thinks....

  • @nishantargade4579
    @nishantargade4579 4 роки тому

    Thx ❤❤ Harry Bhai

  • @259_parthpatidar9
    @259_parthpatidar9 3 роки тому

    asan h nursery class k bacche ne muje vs code me implement krk diya

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

    It's very easy

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

    very good

  • @borgteens298
    @borgteens298 4 роки тому

    Please complete course of dsa really need it

  • @prasannagodiyal6736
    @prasannagodiyal6736 4 місяці тому

    Thank you Harry bhaiii

  • @pritamsarkar9931
    @pritamsarkar9931 4 роки тому

    Harry big brother please make videos on BST and its operations like tree traversal, find a node, inorder, preorder, postorder and delete a node!

  • @naikajsevak6090
    @naikajsevak6090 4 роки тому

    very helpful tutorial keep it up sir

  • @Leo-qo5hk
    @Leo-qo5hk 3 роки тому +1

    Make a video on Radix sort

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

    Nice explanation

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

    Harry sir please also make a video in dynamic programming, graphs and hashing that are also important for interviews

  • @antu_saha
    @antu_saha 2 роки тому

    bhi ya to such mee bhout hee asan heh

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

    Sir please complete this series

  • @FardeenKhan-oo4rn
    @FardeenKhan-oo4rn 4 роки тому

    Meanwhile, Harry Bhaiya After Explaining every topic with ease:- "KA KAROON MAIN ITNA EASY HAI TO, AAP HI BATAO KA KAROON?"😅😅😅

  • @snape0001
    @snape0001 5 місяців тому

    Thank-you !