EXCLUSIVE TIME OF FUNCTIONS | LEETCODE 636 | PYTHON SOLUTION

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

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

  • @marceljacquot8396
    @marceljacquot8396 10 месяцев назад +45

    "F*ck me that was alot"
    It's the little things that make me feel less alone in the struggle.

    • @crackfaang
      @crackfaang  10 месяцев назад +21

      Yup, I went through the same process as you. It's a struggle, it's a pain, some days we want to just give up... but stick with it and eventually you'll be working at FAANG

  • @jasdn93bsad992
    @jasdn93bsad992 8 месяцев назад +4

    "F**k me, that was a lot of reading. Jesus Christ. Is this an English exam?"

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

      We like to have a laugh here 😂

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

      love this energy. 😂

  • @annlaosun6260
    @annlaosun6260 5 месяцев назад +7

    omg, i did not know the functions below can not end before the top one ends. I overcomplicated this problem. That long explanation of the question is so redundant. It should tell us what single threaded means rather than blah blah blah for five paragraphs and took me over 10mins to understand what it is asking.

  • @pineapplebunmorgan
    @pineapplebunmorgan 8 месяцев назад +3

    You explain your solutions as well as the intuition behind them so well, thank you!! This one took me some time to really grasp the timestamp calculations but once it clicked, it clicked really nicely. Great channel have watched a ton of your other videos and all very helpful!

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

    My hero!! Thanks for this. It had mashed up my brain but your explanation for the solution and asymptotic complexity is great.

  • @JCT836
    @JCT836 9 месяцев назад

    Great work! Nice use of the diagram. Thanks.

  • @Nature-pb9dh
    @Nature-pb9dh Год назад

    Bro your explanations are so deep and helps me fully understand the solution.

  • @Adam-tz6gk
    @Adam-tz6gk Месяц назад +2

    "Fuck me that was a lot of reading"
    The reasons I subscribe to you guys

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

      Haha yea I like to have fun and keep it real 😁

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

    I have to admit, I've figured out every line myself except like 23, which I had to stare at for hours, take a shower, and then watch this video to figure out just how awful I'm with off-by-one errors.

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

    Thank you sooo much man! You probably see my comments everywhere by now lol

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

      keep commenting for the algorithm 🙏

  • @kumarc4853
    @kumarc4853 7 месяцев назад +1

    "F me!, is this an english exam or a lc question?" :💀

  • @nikenuke
    @nikenuke 7 месяцев назад

    We run a for loop and on each iteration we do a split iteration, so time complexity is N*M, where N is length of logs and M len of each log. Or I'm missing something?

    • @crackfaang
      @crackfaang  7 месяцев назад +2

      Length of the logs is a fixed size so we don't multiply by M because it's known ahead of time that the length is a certain size. Therefore it's just a fixed constant multiplier on N and asymptotically it can be disregarded

    • @nikenuke
      @nikenuke 7 месяцев назад

      @@crackfaang got it, thanks!

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

    thank you.

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

    So when they say "starts at 2", they mean it starts at a at the beginning of 2, but when they say "ends at 5", they mean it ends at 5+1, i.e., inclusive?
    WTF
    That's very misleading

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

      same confusion for me.. I really don't understand

    • @WaldoTheWombat
      @WaldoTheWombat 4 месяца назад +1

      @@madhuj6912 me too, I was like "fuck this". This is way too much time just to understand what the problem even is

  • @YT.Nikolay
    @YT.Nikolay 2 года назад

    this is gonna be "fun" :D

  • @ruxiz2007
    @ruxiz2007 26 дней назад

    I will say the same thing to myself "F* me!" if I am asked this question in the interview.

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

    thank you