LOWEST COMMON ANCESTOR OF DEEPEST LEAVES | LEETCODE 1123 | PYTHON DFS SOLUTION

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

КОМЕНТАРІ • 11

  • @baetz2
    @baetz2 Рік тому

    Great explanation as always. Even though I am able to solve some of this problems by myself, and even though I don't know Python, I still find something to learn in each of this videos. Thank you!

  • @hangchen
    @hangchen Рік тому

    It's the new year so I liked and subscribed for good!

  • @jamesnguyen3459
    @jamesnguyen3459 Рік тому

    Very detail analysis. Thank you

  • @sarayarmohammadi3376
    @sarayarmohammadi3376 11 місяців тому +1

    Thank you!

  • @AP-eh6gr
    @AP-eh6gr Рік тому +1

    What if a subtree has two leaves which are unsymmetrically deepest? eg they are the deepest and the 2nd deepest leaves, and their depth differs by 1 and no other leaf is nearly as deep as these two?

    • @AP-eh6gr
      @AP-eh6gr Рік тому

      Got it, the question wants only the exclusively deepest, and all of such equally deepest

  • @eddiej204
    @eddiej204 Рік тому

    Thanks ser

  • @李燕行
    @李燕行 Рік тому

    very helpful! thank you so much! in order to comment your vedio,i register youtube hhhhh!

  • @abhicasm9237
    @abhicasm9237 Рік тому

    Have you bought the leetcode premium?

    • @crackfaang
      @crackfaang  Рік тому

      Yes obviously. It’s an absolute must

    • @李燕行
      @李燕行 Рік тому

      @@crackfaang hhhhh so cute!