Preorder Traversal | HackerRank | Tree | Recursion | Python

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

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

  • @utkarshx27
    @utkarshx27 Год назад +2

    bhai god ho kya sb smjha diya simply

    • @codingcart
      @codingcart  Год назад

      Glad it helped 😊
      Please do share with your friends too 😊

  • @sahilbisht3661
    @sahilbisht3661 4 года назад +5

    Awesome explanation 🤟

  • @guilhermenunes9776
    @guilhermenunes9776 2 года назад +1

    Awesome, now I understand better how to code pre order traversal, thank you!

  • @sumitlakhera766
    @sumitlakhera766 2 года назад

    Thank you very much !
    But why are you saying (left, root and right) again and again like at 05:24 . It should be (root, left and right) , correct ?

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

    Hi, I have a doubt with the question in hackerRank. In the function for pre-order they directly have root in parameter and the self keyword for object is missing. Can you please explain how it works?

  • @paruluniyal2305
    @paruluniyal2305 4 года назад +2

    So nicely explained 😊 ☺️

  • @swarupsarangi734
    @swarupsarangi734 3 года назад +1

    Thank you for the explanation ❤️

  • @jedi10101
    @jedi10101 3 месяца назад

    if root is not None:
    why not use?
    if root:

  • @shahsikalagowda183
    @shahsikalagowda183 Год назад +1

    Understood🤍

    • @codingcart
      @codingcart  Год назад

      Glad it helped😊. Please do share with your friends too😊

  • @sruthigudimella1162
    @sruthigudimella1162 4 года назад

    Show the full code please

    • @codingcart
      @codingcart  4 года назад

      Full code for preorder??