LeetCode Interview Problem - Generate Parentheses

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024

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

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

    Space Complexity would actually be Big O(N)

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

    Thank you for explaining the abstraction process. That's exactly what I needed.

  • @michaelromero3216
    @michaelromero3216 4 ปีที่แล้ว +6

    I'm gonna cry, I had this problem asked yesterday in an interview and I couldn't answer it. I'm so dumb for ignoring this problem. You explained the problem so well, I would've been able to solve this problem easily.

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

      It's a tough question if you've never seen it! There will always be a next time.

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

    Thanks for the simplification.

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

    wow how smoothly you have done that. i was struggling like anything to understand. thanks a lot for the image clarification !!!! looking forward to see such videos from you.

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

    Hi Sam. I never knew you use to do this....

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

    Thank you!

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

    thanks

  • @chenzhuo9
    @chenzhuo9 4 ปีที่แล้ว

    very helpful

  • @navyasindhu43
    @navyasindhu43 4 ปีที่แล้ว

    Interestingly, most important part of this solution is played by the empty return statement