Level Order Traversal | Binary Tree | Tree Data Structure playlist C++ | Hello World | Hindi

Sdílet
Vložit
  • čas přidán 12. 07. 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

Komentáře • 72

  • @saurabhpandey2018
    @saurabhpandey2018 Před 2 lety +17

    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.

  • @sohebshaikh3344
    @sohebshaikh3344 Před 2 lety +3

    Bhai Maza Agaya Itna Deep Explanation Maza Agya Prince Bhaiya Keep It up

  • @nishantjha1439
    @nishantjha1439 Před rokem +1

    finally found the best playlist for tree.

  • @hemantkumar2585
    @hemantkumar2585 Před 2 lety

    bhaiya aap question ko bahut easy way mein samjha dete ho ,
    ab tree padhne mein interest aa raha hai,
    thankyou

  • @sw_2421
    @sw_2421 Před 2 lety +2

    Bhaiya aapne dry run karke pura concept clear kar diya thank you so much 😊
    You gained a subscriber

  • @saumyaagarwal755
    @saumyaagarwal755 Před 3 lety +8

    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.

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 3 lety +1

      I know all these things but I don't have a hands on experience in django 🥺
      I have worked alot in NodeJs

    • @saumyaagarwal755
      @saumyaagarwal755 Před 3 lety

      @@HelloWorldbyprince No problem bro

  • @ankitkumarsingh8346
    @ankitkumarsingh8346 Před 2 lety

    One of the best explaination bhaiya

  • @girdharipatel2
    @girdharipatel2 Před rokem

    sir ekdam awesome.

  • @RahulGupta-wy9ej
    @RahulGupta-wy9ej Před rokem

    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.

  • @iqbal682
    @iqbal682 Před 5 měsíci

    keep uploading. ur not like other CZcams your unique. the way u explain problems is awesome.

    • @user-pc1pm1vb7p
      @user-pc1pm1vb7p Před 4 měsíci

      bro is there any que on sorting the binary tree ???

  • @SaurabhYadav008
    @SaurabhYadav008 Před měsícem

    Kya baat hai.... 💥🤜

  • @prakashbarui8820
    @prakashbarui8820 Před 3 lety

    Thanku vaiia

  • @udaytewary3809
    @udaytewary3809 Před rokem

    Really thankyou bhaiya it is Asan language me smjhane ke liye bhaut saare doubt clear ho gye haa 😇😇😇🙏🙏

  • @ananyasiingh21
    @ananyasiingh21 Před 6 měsíci

    Best explanation literally ❤

  • @worldcricket3030
    @worldcricket3030 Před 11 měsíci

    Best explanation

  • @shubhama0
    @shubhama0 Před rokem

    Nice explanation

  • @anujkumar8190
    @anujkumar8190 Před 11 měsíci

    Bahut easy way me explain Kiya bhaiya aapne.Thank u ❤

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 11 měsíci +1

      Thanks yaar
      Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @MrAdhikari-AJ
    @MrAdhikari-AJ Před 11 měsíci

    perfect explanation i was for.....thank you sir

  • @mohdsuhail3545
    @mohdsuhail3545 Před 2 lety +1

    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 CZcams 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 .

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety +1

      Thanks a ton 😀
      Please, if possible then share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @kshitishsharma3945
    @kshitishsharma3945 Před 10 měsíci

    bahut accha explanation tha thank you

  • @tejveernaruka3287
    @tejveernaruka3287 Před rokem +1

    Thanku :)

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před rokem +1

      Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @afrozanjum5086
    @afrozanjum5086 Před 2 lety +2

    Amazing work brother
    Please keep up the good work🔥

  • @tanujarora4906
    @tanujarora4906 Před rokem +1

    Maza aagaya ! :D Thankyou Bhai

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před rokem

      Thanks buddy
      Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @rdxgaurav3483
    @rdxgaurav3483 Před 2 lety

    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!!!!

  • @Ankit-AKA...harikrishana_

    Awesome 😎😎😎
    It is better than screen

  • @llo.welc_me
    @llo.welc_me Před rokem

    best explanation ever ❤

  • @hii9812
    @hii9812 Před rokem +1

    amazing lecture

  • @aayushranjan5572
    @aayushranjan5572 Před 9 měsíci

    bhai vectordata sure baar ke call ke time empty kise hojay ga

  • @vitaminprotein2217
    @vitaminprotein2217 Před rokem

    great indebt explanation👍

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před rokem

      keep learning bro Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

    • @vitaminprotein2217
      @vitaminprotein2217 Před rokem

      @@HelloWorldbyprince sure i recommended your channel to a guy who is new in dsa 😊

  • @princemaurya3165
    @princemaurya3165 Před rokem

    Thanks bro

  • @smilemania5102
    @smilemania5102 Před 3 lety

    Bhaiya jii monster please aisa video bnaye

  • @349_rahulbhattacharya6

    BHAIYA EK doubt that ki level order traverasl me dono code se toh same kaam horh toh use konsa krna hai??

  • @sahiltakwale1937
    @sahiltakwale1937 Před rokem

    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....

  • @349_rahulbhattacharya6
    @349_rahulbhattacharya6 Před 3 lety +1

    sir please a video on Window sliding technique from basic and its questions to practice from basic to advance please please please please

  • @Alokkumar-xu8sf
    @Alokkumar-xu8sf Před 3 lety

    bhaiya g god

  • @kanandnaik5677
    @kanandnaik5677 Před rokem +1

    please tell:
    Time and space complexity?

  • @shashwatsingh253
    @shashwatsingh253 Před 2 lety

    Maja aagyle bhaiya

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 2 lety

      Mujhe v
      please keep sharing my videos or channel in your colleges or groups please

  • @debasmitamahanto3206
    @debasmitamahanto3206 Před 11 měsíci

    Thank you much sir 😊 for your such way of explaining it is really very helpful for me.

  • @akashmukherjee9011
    @akashmukherjee9011 Před rokem

    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)

  • @lucario4399
    @lucario4399 Před 2 lety +3

    4:01 v1
    13:00 v2

  • @janvimyadventures1310
    @janvimyadventures1310 Před 3 lety +1

    Ye playlist kb complete ho payegi?
    Kya pre ,post ,in - order traversal tree +binary tree kae liye alg alg hota hae?

    • @HelloWorldbyprince
      @HelloWorldbyprince  Před 3 lety

      Iss playlist me time lagega buddy
      And tree traversal same hota hai uske liye v

    • @janvimyadventures1310
      @janvimyadventures1310 Před 3 lety

      @@HelloWorldbyprince thanks btane ke liye recursion pae playlist bna do aap ka samj aaya tha binary tree

  • @satyaprakashsingh952
    @satyaprakashsingh952 Před 2 lety +1

    Aap bhi aditya verma ki tahar pdha rhe ho sir