CONVERT BINARY SEARCH TREE TO SORTED DOUBLY LINKED LIST | LEETCODE # 426 | PYTHON SOLUTION

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

КОМЕНТАРІ • 16

  • @GorakhBorude-codeguru
    @GorakhBorude-codeguru 5 місяців тому +2

    when I saw LeetCode question , I got scared but after watching your video , it becomes very simple to understand ..! you got new subscriber ..!

  • @sidazhong2019
    @sidazhong2019 3 місяці тому

    This is more like a stack way instead of dfs() tree traversal. Or let's say you combined them together. brilliant, I have a new understanding of trees now.

  • @amandwivedi1980
    @amandwivedi1980 2 роки тому +1

    Try adding code links for clearness.

  • @luvverma6867
    @luvverma6867 2 роки тому +1

    Amazing Videos!! Thankful to you !!

    • @crackfaang
      @crackfaang  2 роки тому +1

      Thank you! Comments like this keep me going

  • @rushikeshbutley7576
    @rushikeshbutley7576 10 місяців тому

    I always get the intuition but I very much struggle while coming up with code or putting it in such way that i can write code based on dry run or solution i came up with. I always feel like giving up in middle of doing dry code as I feel I will not be able to solve it. Not sure how am gonna do this in interview 😑

  • @michaelhernandez5478
    @michaelhernandez5478 2 роки тому

    Thank you! How you set up the recursion upon reaching the earliest inorder leaf node makes sense. Would it be possible for you to do a handful of backtracking/brute force combinations/permutations problems? I'm going through 465 Optimal Account Balancing and 679 24 Game specifically, and can't figure out how to structure the recursion properly against the expected result.

    • @crackfaang
      @crackfaang  2 роки тому +1

      First of all thank you for your support. I’ll add those problems to my work queue and make videos in the near future. Make sure you subscribe so you don’t miss them when they come out 😁

  • @annlaosun6260
    @annlaosun6260 4 місяці тому

    omg, thank you thank you thnak you!

  • @rsKayiira
    @rsKayiira 2 роки тому

    Great video could you please do LC 636 Exclusive Time of Functions

    • @crackfaang
      @crackfaang  2 роки тому +1

      Sure, I’ll do so when I return home from my vacation

  • @alexistm
    @alexistm 5 місяців тому

    Can this be done without recursion?

    • @crackfaang
      @crackfaang  5 місяців тому +1

      Yes, most recursion problem can be solved with an iterative solution and vice versa. Probably some exceptions exist but in general the rule holds true

  • @AmolGautam
    @AmolGautam 11 місяців тому

    thanks

  • @cmdv42
    @cmdv42 2 роки тому

    🙌💯✨

  • @subee128
    @subee128 9 місяців тому

    Thanks