Level Order Traversal | Binary Tree | Tree Data Structure playlist C++ | Hello World | Hindi
HTML-код
- Опубликовано: 12 июл 2021
- This is the video under the series of DATA STRUCTURE & ALGORITHM in a TREE Playlist. We are going to understand How to find the Level Order Traversal of a Binary Tree. We understand How to use Queue data structure for Finding Level Order Traversal.
Join My Telegram channel for more Updates: telegram.me/helloworldbyprince
► 102. Binary Tree Level Order Traversal
Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level).
Input: root = [3,9,20,null,null,15,7]
Output: [[3],[9,20],[15,7]]
We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.
----------------------------------------------------------------------------------------
Binary Tree Level Order Traversal: leetcode.com/problems/binary-...
Level order traversal: practice.geeksforgeeks.org/pr...
code in This Video: github.com/Prince-1501/Hello_...
----------------------------------------------------------------------------------------
*Follow me *
LinkedIn► / iamprince
Facebook► / helloworldofficials
Instagram► / helloworldbyprince
Twitter► / prince_king_
Telegram► telegram.me/helloworldbyprince
----------------------------------------------------------------------------------------
►Our Playlists on:-
► Tree: • Tree Data Structure & ...
► Hashing: • Hashing Data Structure...
► Matrix: • Matrix (Multidimension...
► STL: • Standard Template Libr...
► Leetcode: • LeetCode Solutions And...
►Competitive Programming: • Full course in Competi...
►C++ Full Course : • C++ full Course in HINDI
►Algorithms: • L-01 || Prefix Sum Arr...
►Data Structure: • Data Structures with C...
------------------------------------------------------------------------
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
✨ Tags ✨
Level Order Traversal
How to find Level Order Traversal
The tree Data structure in Hindi
Code of Binary tree in c++
Use of Tree Data structure in real Life
question asked in Google
how to crack Google Interview
off-campus placement
how to learn to code for beginners
Practice Tree data structure
tree in data structure
Best Telegram channel for Off-campus Placement drive
Tree in a data structure in Hindi
Tree Full playlist for Beginners
#Tree #Leetcode #programming
ekra k kahal jala dry run. Your technique of interaction is really appreciable sir It seems like you are sitting next to us and explaning.Thanks for your efforts.
Many many thanks
Bhai Maza Agaya Itna Deep Explanation Maza Agya Prince Bhaiya Keep It up
finally found the best playlist for tree.
bhaiya aap question ko bahut easy way mein samjha dete ho ,
ab tree padhne mein interest aa raha hai,
thankyou
One of the best explaination bhaiya
Thanku vaiia
sir ekdam awesome.
Bhaiya aapne dry run karke pura concept clear kar diya thank you so much 😊
You gained a subscriber
Best explanation literally ❤
Best explanation
Kya baat hai.... 💥🤜
The way you interact with the students in the video is very good and its help to understand well. Brother can you also make videos on Python frameworks like numpy, flask, pandas, django and API calling. Also how to make projects using this frameworks. I know Python but don't know how to use these frameworks. Wherever I am applying for the companies, they want that you should have knowledge and 1 project using these framework.
I know all these things but I don't have a hands on experience in django 🥺
I have worked alot in NodeJs
@@HelloWorldbyprince No problem bro
Nice explanation
so amazing concept that it helps too be motivated sir. The way of teaching is too good.
One line of yours always hits that is firstly try the question with your own effort then only you will understand the value of solution.
keep uploading. ur not like other RUclips your unique. the way u explain problems is awesome.
bro is there any que on sorting the binary tree ???
perfect explanation i was for.....thank you sir
You are most welcome
bahut accha explanation tha thank you
Thank you
Really thankyou bhaiya it is Asan language me smjhane ke liye bhaut saare doubt clear ho gye haa 😇😇😇🙏🙏
Thanks a lot for learning
Thanku :)
Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
Bahut easy way me explain Kiya bhaiya aapne.Thank u ❤
Thanks yaar
Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
The way u explained its amazing. firstly I was watching video of gfg but I could not get 100% and watch many more video on RUclips but among all video you are super sir , salute to you sir. make more video. and starting of video u said maza aa jayega now i have got those maza. thanks a lot .
Thanks a ton 😀
Please, if possible then share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
Maza aagaya ! :D Thankyou Bhai
Thanks buddy
Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
best explanation ever ❤
keep learning buddy
Amazing work brother
Please keep up the good work🔥
Thank you, I will
Thanks bro
Any time
amazing lecture
Thanks a ton nitish
great indebt explanation👍
keep learning bro Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀
@@HelloWorldbyprince sure i recommended your channel to a guy who is new in dsa 😊
I was finding the extension of gfg's solution because i understood that code but in every video on youtube I was getting some different approach but Finally I found what I want here and my frustation ended here , Thanks a lot very nice explanation!!!!
Glad I could help!
Awesome 😎😎😎
It is better than screen
Keep learning buddy
bro , vectors of vectors me max index kaise nikalte hai ?? like o/p should be 9+20
BHAIYA EK doubt that ki level order traverasl me dono code se toh same kaam horh toh use konsa krna hai??
bhai vectordata sure baar ke call ke time empty kise hojay ga
bhaiya g god
Thanks bhai
Bhaiya jii monster please aisa video bnaye
data vector ke elements apne aap kese delete hoge?
pehle 3 tha, badme push kiya to 3, 9, ..... ho jayega n?
PLEASE EXPLAIN!!!
Ya fir, har while loop ke iteration mein ek naya data vector banta hai, isiliye naye vector mein 3 nhi hoga....
Maja aagyle bhaiya
Mujhe v
please keep sharing my videos or channel in your colleges or groups please
sir please a video on Window sliding technique from basic and its questions to practice from basic to advance please please please please
Yaar, tree baad pakka padha denge Rahul
Please co-operate
@@HelloWorldbyprince ok thankyou bhaiya
please tell:
Time and space complexity?
same as BFS
Thank you much sir 😊 for your such way of explaining it is really very helpful for me.
4:01 v1
13:00 v2
Thanks for the support
using python:-
def level_order(root):
que=deque()
ans=[]
que.append(root)
if root is None:
return ans
else:
while 1:
s = len(que)
if s==0:
return ans
data = []
while s>0:
temp=que.popleft()
data.append(temp.key)
if temp.left!=None:
que.append(temp.left)
if temp.right!=None:
que.append(temp.right)
s-=1
ans.append(data)
Ye playlist kb complete ho payegi?
Kya pre ,post ,in - order traversal tree +binary tree kae liye alg alg hota hae?
Iss playlist me time lagega buddy
And tree traversal same hota hai uske liye v
@@HelloWorldbyprince thanks btane ke liye recursion pae playlist bna do aap ka samj aaya tha binary tree
Aap bhi aditya verma ki tahar pdha rhe ho sir
Bass Aditya Verma jitna suscribers v ho jaye ☺️☺️
@@HelloWorldbyprince keep on uploading video like this
It will be possible