2196. Create Binary Tree From Descriptions | Tree | Hash Map
Вставка
- Опубліковано 9 вер 2024
- In this video, I'll talk about how to solve Leetcode 2196. Create Binary Tree From Descriptions | Tree | Hash Map
Let's Connect:
📱Discord (Join Community) : / discord
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mit...
🤖 Github: github.com/ary...
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms
first tried by myself passed only sample test cases,but glad im learning the approaches from aryan sir.Iam waiting for the day wen i can do all the sums by myself.Iam solving problems daily some i can do by my own but always the better and best approach by sir.Thank you sir.
Thanks bhaiya... aaj wala yeh bhi khudse ho gaya tha but ur videos r always helpful... thank u the GOAT
even though question solve ho jaata h fir bhi video dekh li leta hu, you never know when you might learn something new
@@Jazzimus yupp exactly... bhaiya ke approach next lvl hote hain...
Solved it by myself, came here to see if there's a better approach. 😁
Bhaiya, we can use the same map to identify the root. After creating the connections, we will traverse the description array and mark the childVal as NULL. After doing that, the node (key) having its value as not NULL will be my root
Great solution bhaiya XD
Yo
why can,t I save this vdo in my playlist ??