Egg Dropping Problem Dynamic Programming | Leetcode Hard Solutions

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024
  • Please consume this content on nados.pepcoding.com for a richer experience. It is necessary to solve the questions while watching videos, nados.pepcoding.com enables that.
    NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. In this problem, we discuss the egg dropping problem using dynamic programming. In this problem,
    1. You are given two integers N and K. N represents the number of eggs and K represents the number of floors in a building.
    2. You have to find the minimum number of attempts you need in order to find the critical floor in the worst case while using the best strategy.
    3. The critical floor is defined as the lowest floor from which you drop an egg and it doesn't break.
    4. There are certain which you have to follow -
    a. All eggs are identical.
    b. An egg that survives a fall can be used again.
    c. A broken egg can't be used again.
    d. If the egg doesn't break at a certain floor, it will not break at any floor below.
    e. If the egg breaks at a certain floor, it will break at any floor above.
    To attempt and to submit this question, click here: www.pepcoding....
    For a better experience and more exercises, VISIT: www.pepcoding....
    Have a look at our result: www.pepcoding....
    Follow us on our FB page: / pepcoding
    Follow us on Instagram: / pepcoding
    Follow us on LinkedIn: / pepcoding-education

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

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

    if you watch starting 10 minutes of this video, you will realize that how he has focused and explained the concept rather than solving the question that other youtubers are doing. Thanks for this video.

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

      Thanks :). If you want more detailed content like this with better experience please sign up on nados.pepcoding.com and also follow us on Instagram for latest updates. instagram.com/pepcoding/

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

    I can bet,
    Only video on TH-cam to explain this concept flawlessly.
    Most of the TH-camr themselves haven't understood the question

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

      Watch
      Aditya Verma video for egg dropping problem 🔥🔥.. 👍
      But sumit sir ka toh mukabla hi nahi hai... 🔥

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

      @@nitinkumar5974 usiko dekha pehle,nhi smjh aaya tbhi yha aaya : | , aur yha aane pr to jaante hi ho.... : )

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

      @@theuntoldtree exactly

    • @siddharth.chandani
      @siddharth.chandani ปีที่แล้ว +1

      @@theuntoldtree Same bro

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

    Best explanation ever. Thank you, sir :)
    but at 40:22 max of (2,4) will be 4 and mat[2][7] will become 4.

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

    best explanation so far, was struggling to understand the intuition, cleared up so well !!

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

    His efforts🥺 sir ko pta h ki baache video ko dobara dobara dekh k try kr skte hai lekin still he tries his best by repeating many times

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

      Thank you so much and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

  • @AmanGupta-ks5ki
    @AmanGupta-ks5ki 3 ปีที่แล้ว +20

    I was struggling for more than 2 days to understand this problem.15 minutes into this video I understood the problem completely. Thank you for this great explanation.

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

      Glad it helped and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

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

    This is the best explanation I came across. Watched 4 explanation videos on youtube and this one steals the show. Thank you for sharing this video.

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

      Thank you. Why don't you check out all our content on nados.pepcoding.com?

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

    four years of my engineering, never understood this problem till I watched this video. This is gold.

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

      Glad to know that you liked the content and thank you for appreciating.
      The love and respect which I get from you people keep me highly motivated and the same I am able to forward It to you people through my videos.
      So, keep motivating, keep learning and keep loving Pepcoding😊

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

    Why I was not aware of this channel before. The way you teach is awesome. I am really grateful for such awesome videos.

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

    Log code padhaate hai, aapne concept samja diya. Thank you so much. I don't have much subs but will definitely promote you in my videos!

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

      I am glad. Your kind words are the kind of motivation that truly help me in making more and more content. Especially, these days, not everybody is generous with motivating anybody either. It means a lot.😊
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

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

      @@Pepcoding Already done!! :-D

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

    Clapps for you Sir ! Thanks for making the concept so easy !

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

      Thankyou beta!
      I am glad you liked it. I also hope that you are watching till the end and trying to understand what, how, and especially why of the problem. If you like our efforts, Will you like to write a few words about us here (www.quora.com/How-do-I-start-learning-or-strengthen-my-knowledge-of-data-structures-and-algorithms )
      Keep learning and keep loving Pepcoding😊

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

      @@Pepcoding sir but this code is giving tle on leetcode

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

    yaad krli hai line.
    jo apne haath me uska best or jo luck pr depend hai uska worst.

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

      Ye line to zindagi mei bhi kaam aa sakti hai

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

      @@Pepcoding haa sr hmaare haath me prep krna wo krre hai referral lge na lge interview mile na mile ye luck wali baat. jo apne haath me usko best krre hai ..

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

    Sir this solution is not accepting on leetcode, its time complexity is O(n*n*k) and try to use binary search while checking for egg survives or fails, it will reduce complexity to TC-O(n*k*logn)

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

    This is the bestest explanation of any problem on youtube.

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

    Woahhh sir finally egg 🥚 drop problem solution is here ❤️❤️🔥🔥

  • @Karan9.9
    @Karan9.9 7 หลายเดือนก่อน

    I generally do not comment on any video but believe me he is just awesome . He is clearing not only question statement but also the depth of concept involved many famous youtubers have not released a video on this topic Hats off to him

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

    And this was exactly what I was looking for! Thank you so much for the wonderful explanation! 😃

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

    No one can explain better than you sir. Thanks a lot sir.

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

      Thankyou beta!
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

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

    You are the only capable person right now who actually extracted the real CRUX of the problem and hit that hard with your approach.
    No other famous youtubers were able to find out the real crux of problem.
    Hats off Sir, This is my sixth or seventh video in TH-cam watching for this particular problem and here I got my final satisfactory understanding of the problem.

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

      keep motivating, keep learning and keep loving Pepcoding😊

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

    40:22 maximum value should be 4 else awesome content

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

    The way you explain dynamic problems is far better than others. Thank you sir😁.

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

    Itne simple way me samjhaya hai..... Hats off 🙏

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

      Thankyou beta!
      If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
      Keep learning and keep loving Pepcoding😊

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

    This channel is soo underrated!!!

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

    discovering you late but you are a great teacher. you really put the effort in your video. i can see that.

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

    Sir dimag ka dahi ho gya tha...but now the problem is crystal clear.... thanks ❤️❤️

  • @itsme-z1s
    @itsme-z1s หลายเดือนก่อน

    wonderful explanation I have found in whole youtube. Thank you so muchhhhhhh

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

    The way of explanation. Hats off to you 👏 👏 👏

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

    wow.....this is great!!!
    sir u r amazing.... u do the post mortem of each problem which helps in building the logics as well
    much love sir
    thanks for these kind of tutorial.....god bless u :)

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

      So nice of you, I am glad. Keep learning. Keep supporting. Your kind words are the kind of motivation that truly help me in making more and more content. Especially, these days, not everybody is generous with motivating anybody either. It means a lot🙏

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

    Bro you save me.... Hats off. I was having problem Optimal Strategy problems. And you cleared my doubts so well. Kudos man. I generally don't comment. But your efforts forced me to appreciate your work!

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

    mza aa gya sir , ye best of the worst ka technique game theory mei bhi padha that Maine , aaj pta chala things are related

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

      Glad you enjoyed it :) For more content like this you can visit nados.pepcoding.com

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

    Very nice explanation sir

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

    Very well explained. Kudos to u for putting so much effort!

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

    Thank you for the detailed explanation.
    Can you please also cover a solution with binary search approach with time complexity of O(K*N*logN)

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

      Soon beta.

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

    Man ,seriously Heads off to your patience and Explanation ,This made my day !!!This is the best explanation and correlating the real world CEO-Manager problem was really cherry on the cake. !!! :)

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

    best ever explanation I have seen on TH-cam ❤

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

    Best video that explains the concept well.👍

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

    Kyaa kamaal padhaate ho aap!! Majaa hi aa gya!!

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

    I understood the problem clearly because of you so thanks, and the humor when you said, "jisko samaj ana hoga aa chuka hoga ab tak" hahaa .

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

      Glad it helped!
      Keep learning.
      And for better experience, visit nados.io, where you will get well curated content and career opportunities.

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

    Aree bhaiyaji agg laga di...ande fodne ka estimate k sath placement mein fodne ka estimation acha lgg rha..:wink emoji inserted.

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

    I can watch these videos the entire day :)

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

      Keep learning.
      And for better experience, visit nados.io, where you will get well curated content and career opportunities.

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

    Thank You so much sir, What an amazing solution. Understand everything

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

    This is my 🙃best of best😅 video on egg droping problem
    Thank you sir.
    now the whole concept is clear . the part of office project distribution is really concept clearing example..

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

    Best explanation with a life lesson 🤩

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

    No one literally no one explained in such an easy way ✌️

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

      Keep learning and keep motivating.
      For more such exciting content, don't forget to visit nados.pepcoding.com

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

    tagda bhai...appreciate your effort...

  • @anshikadubey2729
    @anshikadubey2729 2 หลายเดือนก่อน +1

    don't know why so underrated

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

    Hats off. You are the best teacher on earth !

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

      wow, this cheers me up. I am glad we at pepcoding could be of help to you. Keep learning. Also, recommend us to your juniors and peers, they may also benefit.

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

    I am getting TLE, Can u please make a video on the optimization of the egg dropping problem?

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

      Use matrix to store ans N*K size

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

    Nice explanation sir....thanks a lot for the video....the content on your youtube channel is amazing...

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

    Sir, aapki 4:56 wali baat dil pe lagti hai

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

      For better experience and well organised content visit nados.pepcoding.com

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

    thank you so much sir watch only manager question and has gotten the solution of egg dropping

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

    Sir koti koti pranam hai itna acha content dene ke liye.

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

      Thank you so much Beta and If you like the content could you post something on LinkedIn about us? This will help us in reaching out to more people and help a lot of other students as well
      Something like this
      Sumeet Malik from Pepcoding is making all his content freely available to the community
      You can check it out here - www.pepcoding.com/resources
      /
      Also, this is the youtube channel - th-cam.com/users/Pepcodingplaylists?view_as=subscriber

  • @Elon-musk-007
    @Elon-musk-007 3 ปีที่แล้ว +1

    Good to see new questions added to platform

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

    very nice explanation, Thanks Sir

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

    Bow down to king absolutely legend 🙏

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

      Thankyou beta!
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

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

    simply awesome explanation

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

    badiya sawal tha sir, samajhne mein kaafi maza aaya. East or west sumeet sir is the best

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

      keep motivating and Keep loving😊

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

    I have seen lot of videos on this problem but not able to understand, but this video clears all my doubts. Thank you sumit sir and #pepcoding

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

    Sir, really great explanation, i would just request you to increase the frequency of questions as we have to cover a lot of questions from different topics.

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

      I will try my best

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

    Sir you are God for me...

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

    God level teaching!! Kudos !!

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

    for 5 years i have been searching for that brief explanation..great work..

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

      I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
      If you like our efforts, we request a review
      g.page/Pepcoding/review?rc
      You can subscribe to our channel here
      th-cam.com/users/Pepcodingabout?view_as=subscriber

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

      if you are able to get correct answer by this method please share the solution

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

    That is why we love Sumit sir explanation ❣️

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

      Glad you love the explanation, for better experience and well organised content sign up on nados.io and start learning.

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

    best explanation till now for this problem.

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

    Best explanation of all the videos, kudos !

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

      Glad you liked it!
      For better experience and well-organised content
      Visit - nados.pepcoding.com
      Don't forget to follow us on Instagram
      instagram.com/pepcoding/

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

    Pranam Sir, pura confusion dur ho gya!

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

    great explanation..bt this solution is giving tle in leetcode.
    try to use binary search

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

    best explanation

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

    Nice Explanation!👍

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

    Great sir, thanks😊.

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

    Maza aa gaya Sir. O(n*k) ka bhi video banao please .

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

    Best explanation of all the videos, kudos !!

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

    Sir best of worst k liye maine priority queue(min heap) use kari usse kaafi aadan hua.
    Maine Math.max() se queue mai add karte gaya aur end mai peek karke min value le liya

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

    Greatest explanation of all times

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

      Glad to know, for better experience and well organised content sign up on nados.io and start learning.

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

    g8t explanation buddy keep it up

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

    Harr roz with each n every videos of U I see I become a more diehard fan of Your explanation and hardwork(Aap ki baat kya hi bole aap to ho hi Gurudev❤❤).

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

      If you like my efforts, I request a review
      g.page/Pepcoding/review?rc

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

      @@Pepcoding Done sir

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

    sir, the explanation is so mesmerizing

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

      Glad to hear that. Keep watching

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

    May to prosper sir.
    Kya gajab samjhate aap

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

    great explanation sir

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

    Great explanation sir! The CPP version for this logic was giving a TLE on leetcode. Instead of linear search, we must do binary search to pass the testcases.

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

      can u share ur code?

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

      @@yashrajpathak8103
      class Solution {
      public:
      int superEggDrop(int k, int n) {
      vector dp(k+1,vector(n+1,0));
      for(int i=1; i

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

      @@aditidey9366 thanks 😃😃

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

    great explanation sir as usual just the way you make us understand the problem, there is no need to see the code part!

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

      Glad to hear that

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

    48:43 kaun sa agla sawal? optimal strategy for a game??

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

    perfectly explained sir

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

    Great. Best logical explanation

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

    Thanks a lot for your efforts!

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

      Thank you so much and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

  • @mr.naresh3004
    @mr.naresh3004 2 ปีที่แล้ว

    noted life lessons epic explanation thankyou so much sir....

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

    Most unrated channel of YT.

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

    sir u explain so great, im enjoying the explanation, how u clear the question as well as the solution and build intution , its really the best we can get on youtube. thanks a lot sir

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

    ❤100/100 teaching.

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

      Glad you think so!

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

    this is the best explanation. thank you sir

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

    Excellent explanations !! You are the best mate.

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

      Glad to know that you liked the content and thank you for appreciating.
      The love and respect which I get from you people keep me highly motivated and the same I am able to forward It to you people through my videos.
      So, keep motivating, keep learning and keep loving Pepcoding😊

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

    You really make the problem interesting 💯

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

      Thankyou beta!
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

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

    SIR I THINK EGG DROPPING MAINE KITNA TRY KIYA THA SMAAJHNE KA...KAASH PEHLE PATA HOTA HAI PEPCODING KE BARE MEIN TOH MERE 2 SAAL BARBAAD NHI HOTE...KHAIR ABHI BHI TIME HAI..KARUNGA FODNE KA TRY MAI..GR8 EXPLANATION...claps

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

      Foodi koi company?

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

      @@kashba working as sde 1 at bajaj finserv markets

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

      @@pranjalpatel256 😎🤝 Badiya bhai
      Mai bhi 6 mahine ke andar andar badiya company fodunga koi

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn 8 หลายเดือนก่อน

    no words to appreciate.

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

    crystal clear. thanks!

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

    Sir at DP[2][7] there should be 4 because we are calculating the max(2,4) so it will be 4 and the whole max array will becm (3,3,3,3,4,5,6) not [(3,3,3,3,2,5,6)(written in video)]. so the min of max will be 3 and the attempt will be 3+1=4

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

    sir this method is giving TLE in leetcode submission

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

      on leetcode you need to submit O(n*logn*k) solution where as this solution is O(n^2*K) n is the floors and k is the eggs

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

      Watch Aditya Verma for egg dropping 🔥🔥.. 👍

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

      @@nitinkumar5974 Both will give TLE on leetcode and InterviewBit. You have to use Binary Search then only it will be accepted.

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

    Thankyou so much sir. Your efforts are really great

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

    Best Explanation

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

    Great explanation!