Shortest Subarray with Sum at Least K - Leetcode 862 - Python

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 86

  • @monismomin6759
    @monismomin6759 Місяць тому +86

    I will miss you, bro. You are the reason I started solving daily problems because I knew that whenever I got stuck, your videos were always there to help

  • @julianelmasry9556
    @julianelmasry9556 Місяць тому +28

    Just wanted to let you know you are one of the most influential people I have come across my whole life. I love you neetcode

  • @tonyliu4952
    @tonyliu4952 Місяць тому +12

    Take rest bro. Watching your videos is one of the motivation that keeps me solve the leetcode problems. Stay healthy and sound. Hopefully, we can see you soon.

  • @ashwinashok1998
    @ashwinashok1998 Місяць тому +15

    Thanks Navdeep for all your efforts on sharing the solution for Leetcode daily problems consistently everyday. We respect your time and completely understand you need a break.

  • @IK-xk7ex
    @IK-xk7ex Місяць тому +3

    You got me a motivation to solve problems daily. I work full time, but every day in the morning before work I solve daily coding challenge. That is keep going for a year. Your videos are clear and helpful. Thank you for noticing.
    Good luck and will wait for your coming back!

  • @ksaigon
    @ksaigon Місяць тому +13

    Damn man, hope you're doing well. Take some time to rest up. We'll miss you!

  • @hargovind2776
    @hargovind2776 Місяць тому +4

    Hope things get sorted for you
    I'll kind of loose motivation now to do the daily problem, maybe its time for me to come up with the solutions on my own
    Hoping to see you soon Navdeep!

  • @arongu1930
    @arongu1930 Місяць тому +1

    Thanks so much Neetcode! Totally understandable you need to take a break and fulfill other obligations! Best of luck and thank you so much for the explanation!

  • @footbalmrincredible
    @footbalmrincredible Місяць тому +8

    this is why you dont let negative people into yourlife

  • @BlunderArmour
    @BlunderArmour Місяць тому +1

    Thanks for all the videos, Neet! Looking forward to seeing these videos consistently again!

  • @SD-vk3ko
    @SD-vk3ko Місяць тому +2

    Will miss you so much Navdeep. Take some time to rest and hope to see you soon next year.

  • @YouTube_Staff
    @YouTube_Staff Місяць тому +2

    We’ll miss you, thanks for these great explanations! Get some well deserved rest.

  • @jamesisaacson6414
    @jamesisaacson6414 Місяць тому +5

    0:10 That hit hard. You will be dearly missed!

  • @leeroymlg4692
    @leeroymlg4692 Місяць тому +13

    4:53 interesting drawing

  • @quoctrungtran2690
    @quoctrungtran2690 Місяць тому +1

    Thank you for your dedication! I will miss you so much. I watched you every day last year. Hope you're doing well.

  • @jaatharsh
    @jaatharsh Місяць тому +1

    thanks for all ur efforts so far, hope u come back soon after sorting ur personnel commitments.

  • @jonathanperry7530
    @jonathanperry7530 Місяць тому +1

    Thanks for your videos, they've been great and I'm sure many people have benefitted. I know I have. Wish you the best and hope you consider making more once you have had enough break

  • @jimmyliaouwu
    @jimmyliaouwu Місяць тому +1

    You're the best LeetCode UA-camr to me, thank you.

  • @ash-1908
    @ash-1908 Місяць тому

    I was not aware about monotonic increasing order. I wrecked my head alot trying to solve this problem.
    Thanks for the solution.

  • @jamestwosheep
    @jamestwosheep Місяць тому

    Thank you so much for that deque explanation - I managed to come up with the heap solution on my own but the deque had me a little baffled. Also, thank you for all your videos to date! Good luck with the obligations you need to take care of, and we hope to see you back again before too long.

  • @yang5843
    @yang5843 Місяць тому

    Appreciate your explanation of why the sliding window would not work, that was my initial intuition to solving the problem.

  • @chien-yucode992
    @chien-yucode992 Місяць тому +1

    Thank you so much bro... Will miss you

  • @nomealow
    @nomealow Місяць тому

    Thank you, your Leetcode videos are quite helpful especially when I have trouble at times with reading a barrage of text from written solutions.

  • @hoyinli7462
    @hoyinli7462 Місяць тому

    i guess you spent much time to explain your thought in a simple way. Respect. Here I wait until your next leetcode video. Keep it up, bro!

  • @adilansari-hq9ge
    @adilansari-hq9ge Місяць тому +1

    Take rest bro. Gonna miss you, but tottaly understandable. you need to break.Hope to see you back soon.

  • @zzzzzzion
    @zzzzzzion Місяць тому +1

    neetcode i hope u know ill carry u with me everywhere i go

  • @illia_user
    @illia_user Місяць тому

    The last solution you demonstrated could be optimized by eliminating the ⁠popLeft operation. In Python, it’s likely that arrays are used internally, making this operation costly as it requires removing the first element and shifting all others to the left, resulting in O(n) time complexity. By utilizing a ⁠`front` pointer instead, the process can be significantly sped up.

  • @arjun-rq6zt
    @arjun-rq6zt Місяць тому

    Rest up bro, feel better. Hope to see you back soon!

  • @yhbarve
    @yhbarve Місяць тому

    Goated. You will be missed. Hope you come back soon

  • @jhonathansantacana8528
    @jhonathansantacana8528 Місяць тому

    Just let you know you are one of the best and if you have to go wish you the best, thanks for all the help.

  • @gn01737625
    @gn01737625 Місяць тому

    Thank you for your daily leetcode problem video, I hope to see you soon.

  • @aayushtheapple
    @aayushtheapple Місяць тому

    Man. Will definitely miss you. Thank you!

  • @mathguy198
    @mathguy198 Місяць тому +1

    Will miss your leetcode videos bro😓

  • @Kaviarasu_NS
    @Kaviarasu_NS Місяць тому

    Thanks for being here for us all this time, hope to see you soon

  • @ik6071
    @ik6071 Місяць тому

    can someone tell me why 15:45 why we dont subtract cur_sum = cur_sum - min_heap[0][0] i mean if its small enough that we dont need to worry why not subtract it and push the updated sum ? so in the heap we aren't actually putting the correct minimum sum thats larger than or equal k right?

  • @durvishsingh7011
    @durvishsingh7011 Місяць тому

    You are a legend...will miss you :)

  • @CS_n00b
    @CS_n00b Місяць тому

    You deserve a rest bro. I am so grateful for all of your videos you have no idea how many people you have helped

  • @harshitgarg1432
    @harshitgarg1432 Місяць тому

    You can insert {0, -1} in deque before starting the loop and remove "if(cur >= k) { res = min(res, i+1)}" for better understanding.

  • @user-uy9yr3nn6l
    @user-uy9yr3nn6l Місяць тому +2

    Neetcode, the red shirt looks stylish.

  • @siddharth-gandhi
    @siddharth-gandhi Місяць тому +1

    Take care brother. Everyone has storms in their lives.

  • @shauryatomer1058
    @shauryatomer1058 Місяць тому

    thanks for all effort of creating a quality video daily. Hoping you start enjoying life more best of luck and don't burn out

  • @TheSmashten
    @TheSmashten 29 днів тому

    Nooo please keep makin videos dude we love you for it

  • @Aaron-cp9tt
    @Aaron-cp9tt Місяць тому +1

    bro, I will miss u😩

  • @pramodpotdar5416
    @pramodpotdar5416 Місяць тому

    You in the frame talking the solution makes it more easier than just voice. atleast i prefer this video format.

  • @mdsozon6866
    @mdsozon6866 Місяць тому +1

    will miss you brother 😔

  • @l1f3study74
    @l1f3study74 Місяць тому +1

    please take care of yourself Navdeep ❤

  • @felixx2012
    @felixx2012 Місяць тому

    Thanks for making these daily videos, really appreciate the effort you put into them

  • @Steel16
    @Steel16 Місяць тому +2

    WE GOT THE RED SHIRT FOR THE LEETCODE HARD

  • @soumyajitchatterjee5822
    @soumyajitchatterjee5822 Місяць тому

    Awesome video! Thanks again.

  • @marcoaraujo9446
    @marcoaraujo9446 Місяць тому

    Neet, thanks a lot for all ur time and dedication u r my favorite youtuber by far, hope u come back soon 😢.
    But good Luck on your new jorney, and thanks a lot I'll trully miss u ❤

  • @sgzz1024
    @sgzz1024 Місяць тому

    Hoping to see you soon!

  • @smartinezai
    @smartinezai Місяць тому

    Loved this, thanks so much

  • @ShivamBharatvanshi
    @ShivamBharatvanshi Місяць тому

    you are amazing, brother

  • @PurpleDaemon_
    @PurpleDaemon_ Місяць тому

    24:30 Shouldn't it be (3:3)? 2 - 1 + 2

  • @olegkash1
    @olegkash1 Місяць тому

    I will miss you, your videos so helpful

  • @drain1635
    @drain1635 Місяць тому +1

    I'll miss you goat

  • @anuragkadam7935
    @anuragkadam7935 9 днів тому

    thanks a lot awesome video

  • @rajsuriyang3427
    @rajsuriyang3427 Місяць тому

    We will miss you bro😢. When will you come back?.

  • @IDFK478
    @IDFK478 Місяць тому

    love your content thank you

  • @mrholeechit
    @mrholeechit Місяць тому

    such a good video, sad to see you go

  • @sauravsingh4497
    @sauravsingh4497 Місяць тому

    You can do leetcode videos only for hard problems where you feel like you should talk about the problem.
    But only if you feel healthy

  • @shahzodshafizod
    @shahzodshafizod Місяць тому

    Did you record screen before talking? I mean you are sitting calm and it doesn't seem you are drawing when you're talking. How is it so?

  • @VasudevSrivastava-y6p
    @VasudevSrivastava-y6p Місяць тому

    do come back soon🙃

  • @JayBeeDev
    @JayBeeDev Місяць тому

    Get some rest, mate. But please make sure to come back. I will be waiting.

  • @sirwolond
    @sirwolond Місяць тому

    Noooooooo! Will be waiting for you to come back)

  • @shahzodshafizod
    @shahzodshafizod Місяць тому

    You'll be missed as the only Indian (who I know) who doesn't have Indian English accent. Take care, man.

  • @splendidbeaver2027
    @splendidbeaver2027 Місяць тому

    What are you cooking ?

  • @ram8551
    @ram8551 Місяць тому

    Man had to bust out the red shirt for this one ☠

  • @pratikgehlot1973
    @pratikgehlot1973 Місяць тому

    GOAT

  • @yotubecreators47
    @yotubecreators47 Місяць тому

    🤶 🎄
    Take time off until next year

  • @business_central
    @business_central Місяць тому +1

    you'll be missed

  • @pastori2672
    @pastori2672 Місяць тому

    can you actually take a pic with a different shirt instead of just changing the color

  • @sivatejaysn
    @sivatejaysn 27 днів тому

    Feeling so much hard

  • @idams3955
    @idams3955 Місяць тому

    Consintency is really..

  • @kevinjoythomas6528
    @kevinjoythomas6528 Місяць тому

    i like you

  • @jadugarsuprimeff7691
    @jadugarsuprimeff7691 Місяць тому

    are u indian ?

  • @ManishKumar-kw7qe
    @ManishKumar-kw7qe Місяць тому

    No bro!!

  • @footbalmrincredible
    @footbalmrincredible Місяць тому

    yooo im first

  • @leonardogalindo5330
    @leonardogalindo5330 Місяць тому

    first

  • @kane-m9o
    @kane-m9o Місяць тому +1

    broo don't doo that !!!!!🥲🥲🥲🥲🥲🥲
    guy's telll him to not to do thatt, damnnn...

    • @abhinavchoukse2357
      @abhinavchoukse2357 Місяць тому

      someday the hero has to go ... but always remember what our hero has taught us...

    • @kane-m9o
      @kane-m9o Місяць тому +1

      @@abhinavchoukse2357 yeahh, although 😔 hoping the NeetMan to be good and to come back after the rest.