FACEBOOK CODING INTERVIEW QUESTION - LOWEST COMMON ANCESTOR

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

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

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

    Undoubtedly one of the most underrated TH-camr/ teacher on TH-cam!! Love your work man!!

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

      That means alot to me, thank you so much for watching! More videos on the way

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

    I was taught a solution to this problem in a format that took roughly 30 minutes and left me confused. I looked for a backup explanation from my first three go-to people, didn't find one, and then found your explanation. Simple. Perfect. Thank you. The sad thing is that I had this question asked at ... :-)

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

    This and the text justification videos are the best I have seen so far. Very clear explanation. Neatly done. Great work! And thank you!

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

    You are the best man. the way you simplify things I became your huge fan

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

    Your Explanation is probably the best. Don't stop making programming videos. Love it.

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

      Thanks, will do!

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

      @@AlgosWithMichael Can you make please videos for these questions (1703)Minimum Adjacent Swaps for K Consecutive Ones, (1896)Minimum Cost to Change the Final Value of Expression and (564)Find the Closest Palindrome

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

    crystal clear explanation!!! Aboslutely love it!
    Although if we use preorder instead of postorder, it seems to improve the performance a lot( If hit, terminate recurisve immediately, rather than go left and righ, and then itself).

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

    Michael - thanks so much for these videos. You put me at ease.

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

    Superb explaination

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

    This was awesome.

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

      Subbed! ❤️

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

    Amazing explanation man!

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

    thanks for your clean explanations. It fails for cases where we have p and q same, like 101 24 48 15 -1 26 39 28 37 38 4 33 -1 -1 32 34 6 10 -1 43 -1 -1 2 -1 47 17 23 7 41 36 -1 8 -1 -1 44 -1 -1 13 16 18 27 29 -1 -1 42 -1 3 11 -1 -1 -1 25 19 46 -1 -1 -1 22 14 -1 20 49 35 -1 -1 1 -1 -1 5 -1 12 -1 -1 -1 -1 -1 -1 9 -1 -1 30 -1 -1 21 -1 -1 -1 50 40 -1 -1 -1 -1 -1 -1 -1 31 -1 -1 45 -1 -1
    43
    43

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

    really nice explanation

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

    God-Like coder

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

    Thank you

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

      Anytime!

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

      @@AlgosWithMichael hey Michael can you pls also provide ways of thinking, how to approach a problem if you have never seen it before.
      sort of a toolkit to apply on problems or how to work through examples and come up with an approach

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

    @5:30 lets code it