Introduction to Heap Data Structure + Priority Queue + Heapsort Tutorial

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

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

  • @KunalKushwaha
    @KunalKushwaha  4 месяца назад +7

    DSA + interview preparation playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ

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

      love your work sir , stay healthy !❤❤❤❤

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

      heap next video please brng sir

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

      When will you start graph and Dynamic Programming ?

    • @kushagra.dalmia
      @kushagra.dalmia Месяц назад

      Hey, this was excellent, waiting for your take on graphs and DP.

    • @amansinghtamar7894
      @amansinghtamar7894 3 дня назад

      @@garikinarajesh1999 why sir is not teaching graph and dynamic in this playlist. tell me if you know anything about it

  • @poorpanda9033
    @poorpanda9033 Год назад +38

    Take your time kunal to make this videos. People are saying complete it ASAP & all. But I know it takes a lot of time & hard work to make videos. It's not that easy to Record, Edit, Render, Make thumbnail. There are so many things that can go wrong (maybe you forgot to record, rendering issues etc) So, Just to let you know take your time with these videos. Because I know that this videos are the best & it's the only thing that you need to watch to understand DSA.
    Being watching your videos since 2months (LinkedList, Search, Trees) It's helping me a lot.
    Thank You so much !!

  • @AtharvaRao0104
    @AtharvaRao0104 Год назад +37

    Everybody who has not understood data structures yet just waits for your videos .. and you make it look so simple .. I'm sure those who watch these will never forget the concepts again in their life.

    • @KunalKushwaha
      @KunalKushwaha  Год назад +7

      Thank you

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

      ​@@KunalKushwaha it would be a great ,if u complete the dsa course asap , because no one teaches as simple as u

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

  • @HariHaran-oq7wr
    @HariHaran-oq7wr Год назад +25

    Thalaiva....va thalaiva va thalaiva 🔥

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

    👉 Resources
    - Join Replit: join.replit.com/kunal-kushwaha
    - Lecture code: replit.com/@KunalsReplit/Heaps-1

  • @gojosatoru988
    @gojosatoru988 Год назад +22

    This series is just ....... I literally have no words to explain how much helpful it is.❤❤❤
    A big big thanks for making these videos, Quality content for free!!!!!!

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

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

      @@bla8275 Yup.... The playlist covers the whole basics...

  • @ritanshubirla6714
    @ritanshubirla6714 Год назад +12

    The last concept, in which we are getting the time complexity for creating a heap with an unsorted array was a Banger.....learned something new .... looking forward to learn more good concepts and great topics like Graphs and DP from you ! Thank you🙏

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

    lol fang youtubers were criticizing him for not completing his DSA series meanwhile they themselves haven't done anything for the community for free.
    Atleast he was trying to do and Now he is back🙌❤

  • @Jyothirmai1111
    @Jyothirmai1111 Год назад +78

    Finally Dsa with kunal is back.... Hope u complete this series soon

    • @HeyMr.OO7
      @HeyMr.OO7 Год назад +3

      Yeahh by Dec 2023 he says 👍🏻

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

      ​He told in the video?

    • @HeyMr.OO7
      @HeyMr.OO7 Год назад +4

      Yeahh recent Tree video or questions video I asked by when series will complete he said it'll be completed by Dec 2023

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

      Hey what if we r unable to do a question on our own?

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

      @@HeyMr.OO7 No way he will finish by Dec. Still missing DP and Graphs.

  • @27_sakshijadhav2
    @27_sakshijadhav2 Год назад +3

    My Favourite language is c++ , and i am doing coding in c++ only but looking to your teaching techniques and skill i used to watch your dsa series
    Thank you for such a incredible content 🙏🙏

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

    this video deserves q10000+ cmnts why only 172 ?
    hats off to you kunal

  • @sakshamjoshi1118
    @sakshamjoshi1118 Год назад +5

    Here comes the most awaited video of the Supreme DSA Playlist ❤ U r the Best Tutor❤❤

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

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

      @@bla8275 yes of course

  • @HB-nw2cb
    @HB-nw2cb Год назад +4

    Hi sir I'm from Norway, please keep making these videos, I'm having the algorithm course now and I really need your videos!!

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

    has someone ever told you that the content you are providing us can't be found in other creators. So, huge thanks for easy explanation of heap ❤

  • @upendrakumar-bw1jd
    @upendrakumar-bw1jd 11 месяцев назад

    So many people making it complex but You made heaps really simple.

  • @LavKushwaha
    @LavKushwaha Год назад +8

    Finally, king is back with his new super duper video.❤️‍🔥🔥
    Thank you for providing such an amazing DSA course for free on RUclips. Huge respect. 💯 ❤️🙌

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

    • @Saurabhkumar-kl3or
      @Saurabhkumar-kl3or Год назад

      @@bla8275 how many times bro u asking ofcourse it is for beginners bro

  • @sysybaba420
    @sysybaba420 11 месяцев назад +4

    "Java doesn't have pointers so you get my point" framing this!

  • @satestactmathtutor6570
    @satestactmathtutor6570 Год назад +13

    Finally, my man is educating the whole youtube with the best DSA

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

      Hey, I have just started with DSA course currently learning arrays, just wanna ask you if this course is good like is everything covered till now. Basically I want your honest opinion regarding this course or any other suggestions.

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

      ​@@vakulkeshav4324I can't explain how good this series is. The teaching style, the content, explanation everything is just top notch. You can't get this type of quality content even in a paid course.
      Believe me bro....just watch this series and you will be solving medium and hard leetcode questions (for interviews) in no time.... Just be consistent 😊

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

      ​@@vakulkeshav4324This is great course but I would recommend you to watch advance topics like dp, trees and grap from striver/aditya verma also

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

      @@vakulkeshav4324 bro this is the best course out there trust me my friends have taken courses from coding ninjas gfg and chapri ytubers like babbar and sapna college but ultimately they are also watching kunals course only this is gem brother follow this course u will become great but indeed pratice is needed for sure u can do that on leetcode

    • @Dicegambler-r8h
      @Dicegambler-r8h Год назад

      @@vakulkeshav4324 How much Java (or whatever language you know) is enough for learning DSA?

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

    no can provide this high quality teaching

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

    I don't know why I'm crying, thank you man! LIVE LONG, STAY STRONG AND HEALTHY. MUCH LOVE TO YOU!

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

      You’re welcome

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

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

    I would even pay for this course such great way of teaching. And please go ahead with DP

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

    One thing to note is that since we are shifting and not replacing the elements while swapping, if will be creating duplicate elements in the list. E.g. If the original list is [34,45,22], after swapping first and last elements, the list will look like this: 22,34,45,34,22. So, better to use Collections.swap() instead.

  • @vikrant9272
    @vikrant9272 Год назад +13

    We're getting close to most complex topics Soon. Thank You Kunal!!!

    • @prajwalm.s7976
      @prajwalm.s7976 Год назад +3

      But Kunal will make them easier

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

      @@prajwalm.s7976 For Sure

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

      Dynamic programming??

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

      @@ankur07M Yes Graphs, DP, Greedy

    • @iit-b3869
      @iit-b3869 Год назад

      ​@@vikrant9272can you please tell all the remaining topic I think hashmap trie and many.
      Can you tell all one

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

    I haven't reached this video yet . But thank you for continuing the playlist.

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

    Tqs kunal waiting for ur video bcz No u tube lecture as teach as u ❤❤

  • @ediscage
    @ediscage 11 месяцев назад

    Kunal you are great, you have helped me a lot on this journey of learning DSA in my university, I have been able to do labs and stuff with no problem , thanks a lot, I have been waiting for you to make videos on graphs and DP, we need you man !!!!

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

    Take your time kunal to make this videos. People are saying complete it ASAP & all. But I know it takes a lot of time & hard work to make videos. It's not that easy to Record, Edit, Render, Make thumbnail. There are so many things that can go wrong (maybe you forgot to record, rendering issues etc) So, Just to let you know take your time with these videos. Because I know that this videos are the best & it's the only thing that you need to watch to understand DSA.
    Being watching your videos since 2months (LinkedList, Search, Trees) It's helping me a lot.

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

      Do i need to learn trees before heaps because striver SDE sheet has heaps before binary tree???

    • @riteshhere8611
      @riteshhere8611 21 день назад

      @@SibiRanganathLNo need

    • @riteshhere8611
      @riteshhere8611 21 день назад

      @@SibiRanganathLI feel doing binary trees before heaps makes it even easier

  • @soumiksen7445
    @soumiksen7445 Год назад +14

    39:10 to 39:15 , I literally died laughing watching that part 😂😂😂

  • @VinayKumar-zt1be
    @VinayKumar-zt1be Год назад +1

    Was waiting eagerly for the video. Thank u and please complete this
    DSA playlist beacuse i am going to sit in the placements from next semester.

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

    Thanks Kunal for starting again.
    Please continue 🙏

  • @user-oz3hc6lj2e
    @user-oz3hc6lj2e Год назад

    I am really grateful to you for creating this video

  • @azadsinghdinkar3951
    @azadsinghdinkar3951 5 месяцев назад +1

    Outstanding explanation

  • @ABHISHEK-E-VECTOR-jo1pc
    @ABHISHEK-E-VECTOR-jo1pc Год назад +2

    Awesome video Kunal sir ❤❤

  • @NeerajSingh-mc5kf
    @NeerajSingh-mc5kf 7 месяцев назад

    I enjoyed watching this complete videos Great work Kunal

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

    Thank you Kunal 🤝

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

    Thank you so much bhaiya for the high quality content❤

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

    Thanks, really appreciate you taking the time to teach us!

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

    Playlist is getting better and better.....

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

    One of the best video on heaps ..❤

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

    THAT'COOL KUNAL , Waiting for the Next

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

    best course on RUclips

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

    Goat is back💥

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

    Thank you so much Kunal!! It really helped me alot.

  • @jk-sm6qr
    @jk-sm6qr 8 месяцев назад

    28:27 Hey Kunal, Thank you very much for your hard work.
    I have a request from you that please make videos on dynamic prog and graphs and complete the playlist. You are brilliant and I want to learn DSA only from you.

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

    the goat has returned

  • @FFGAMER-yd1xj
    @FFGAMER-yd1xj Год назад

    #DSAwithKunal will trend again. 🎉

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

    Was waiting for this.. finally 🔥🔥🔥🔥🔥

  • @AdityaSharma-it5ue
    @AdityaSharma-it5ue 10 месяцев назад

    A big Thank you for these awesome videos!

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

    Thank you so much kunal for the video❤ and super excited for the next questions video.

  • @TanushkaKashyap-cf7sd
    @TanushkaKashyap-cf7sd 5 месяцев назад

    You doing a great job K!

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

    Thank your so much kunal.... was waiting for youu...!!

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

    Kunal please finish it , I have high hopes on you 🎉

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

    Easily understood..!! Thanks Kunal...

  • @KavineashJB-pi6vs
    @KavineashJB-pi6vs Месяц назад

    Kunal, please begin the lecture and Interview question on Graph and Dynamic Programming. I am eagerly waiting for your upcoming videos.

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

    Great stuff clear the concept in one short

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

    What a Man, no word to say

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

    God bless u❤ , really great great work sir, no one can provide such an awesome course, pls sir provide remaining topics also

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

    thank you bro ❤️Great work you are doing ✌🏻👀 will comment after watching :)

  • @rushikeshjade1716
    @rushikeshjade1716 3 месяца назад +2

    Hi @KunalKushwaha,
    I've been following your playlist from the very beginning, starting from the basics of Java, and following till now. But one thing I noticed and didn't like that you are saying "Shame on you" many times in this video (which discouraging for new learner). Small suggestion is, do not assume that your audience had watched all your previous videos, as many viewers may come directly to specific topics, like "Heap", without watching the previous videos. Instead, you can say "Please watch my previous videos/playlist, if you haven't", and can add video URL in description section if necessary, and I know this is how you have been saying till now, till previous video.
    Also, could you please upload Graphs and DP videos, and other important DSA concept? I’m eagerly waiting for these as I’ve almost completed the playlist.
    Thank you!

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

      Do i need to learn trees before heaps because striver SDE sheet has heaps before binary tree???

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

    I'll definitely visit london to meet you one day...

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

    Thank You So Much Bro For Your Amazing DSA Playlist ❤Now, Please make the Graph and DP videos. It will be very grateful to you brother ❤❤

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

    Great bro keep it up❤

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

    This series is amazing ,and also really helping while going to the iinterview . please upload graph videvos

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

    Dsa God Kunal OP!!!🎉🎉

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

    wake up babe new kunal kushwaha dsa video just dropped

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

    Great Course Kunal!

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

    28:29 then teach use bro!!!
    We are waiting for dp playlist

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

    Just explanation is in motion . loved it❤

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

    Thanks Kunal, Your videos are really helpful.

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

    How many more videos to come in this playlist???????????

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

    Waiting for hashmaps video 👍👍

  • @mdna9368
    @mdna9368 16 дней назад

    Hey Kunal, I thoroughly enjoyed the videos! Is there any problem-solving video available for heaps?

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

    Legend is back !!

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

    Such a appreciating work done by you sir... We are very thankful to you for providing the better quality of source of education to enhance the skills... 🙌

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

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

      ​@@bla8275yes you can start

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

    please complete this series fast as placement and internship season is coming

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

    Hi khushal, it's good you are back again . I request you to post videos of a particular topic in a series , For eg.., You've posted 1st Binary trees after that u posted videos related to string buffer and then 2nd video of binary trees is posted. It may be confusing so please go to next topic once u complete the prev topic.
    thanks in advance ❤

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

    Yuo're contributing to the society...🌱

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

    Kindly keep posting

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

    Suggestions:
    * As a content creator/teacher, don't assume all of your audience/students have watched your previous videos/lectures.
    * It may be better to say "Please watch my other videos/playlists regarding this subject, if you haven't or if you don't understand the material." instead of "shame on you." This way, new coders or students will realize that they need some other stuff before learning the concept in the current video.

  • @Adityasingh-tq4nt
    @Adityasingh-tq4nt Год назад +1

    Good work 👍

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

    Kunal if you can teach DBMS and do some questions with sql in leetcode

  • @GurunathR-o4w
    @GurunathR-o4w 15 дней назад

    Thanks Kunal

  • @luci7846
    @luci7846 24 дня назад

    kunal im grateful for this playlist, but can you maybe also cover graphs, and the other algorithms like a star, prims etc

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

    nice lecture kunal . Loved it a lot

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

      Do i need to learn trees before heaps because striver SDE sheet has heaps before binary tree???

  • @chaman3679
    @chaman3679 10 месяцев назад

    huge respect to you 🙏

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

    Long awaited

  • @ramlanjekar2773
    @ramlanjekar2773 11 месяцев назад

    faad dala

  • @workHolic-ne6eo
    @workHolic-ne6eo Год назад

    Hey Kunal, loved this series. If we are learning DSA from you, who did you learn it from?😉

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

    we need a video on the questions for heaps and priority queues :)

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

    the best video🔥🔥🔥🔥

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

    Thank you Kunal

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

      Thank you Kunal 👍🏻👍🏻

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

    Thanks Kunal ❤

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

    Hope ki jaldi ho jae ❤❤

  • @SaumyaShukla118
    @SaumyaShukla118 10 месяцев назад

    Hey Kunal! please upload videos on heap, priority queue question.

  • @AMITKumar-hg5ih
    @AMITKumar-hg5ih Год назад +1

    Python + DSA + Interview preparation bootcamp please prepare it

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

    Thanks kunal ❤️

  • @pipinstallpycaret4056
    @pipinstallpycaret4056 10 дней назад

    please make video also on DP, greedy technique, graph

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

    Keep them coming

  • @HARI-iy5uv
    @HARI-iy5uv Год назад

    Back on track 💥

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

    in this lecture u were teaching like professors teach us in college i know how heap sort works but if i watched ur video first time for heap sort then i dont think so i will be able to understand it btw great series!!!

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

      I know some basics of c++ progamming upto oops but for dsa i want to code in java
      To view this playlist do i need to learn basics of java or i just start this playlist .
      please do reply I am in so much of confusion.

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

      @@kumarYash123 Just start this playlist no need to again learn java separately

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

      @@tharunreddygorla8770 bro I only know basics in c++ I have not learn basics in java

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

      Bruh...Kindly tell is this playlist also for beginners who don't know about Javaa but learned C program during 1st sem

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

      @@bla8275 Bhai love babbar se padho agar avg student ho baki excellent student ho to isse padh sakte ho thoda dimag jyada use karna padta hai iskei videos me