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

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

  • @saurabhpandey2018
    @saurabhpandey2018 2 года назад +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 2 года назад +3

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

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

    finally found the best playlist for tree.

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

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

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

    One of the best explaination bhaiya

  • @prakashbarui8820
    @prakashbarui8820 3 года назад

    Thanku vaiia

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

    sir ekdam awesome.

  • @sw_2421
    @sw_2421 2 года назад +2

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

  • @ananyasiingh21
    @ananyasiingh21 6 месяцев назад

    Best explanation literally ❤

  • @worldcricket3030
    @worldcricket3030 11 месяцев назад

    Best explanation

  • @SaurabhYadav008
    @SaurabhYadav008 Месяц назад

    Kya baat hai.... 💥🤜

  • @saumyaagarwal755
    @saumyaagarwal755 3 года назад +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  3 года назад +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 3 года назад

      @@HelloWorldbyprince No problem bro

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

    Nice explanation

  • @RahulGupta-wy9ej
    @RahulGupta-wy9ej Год назад

    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 5 месяцев назад

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

    • @user-pc1pm1vb7p
      @user-pc1pm1vb7p 4 месяца назад

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

  • @MrAdhikari-AJ
    @MrAdhikari-AJ 11 месяцев назад

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

  • @kshitishsharma3945
    @kshitishsharma3945 10 месяцев назад

    bahut accha explanation tha thank you

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

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

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

    Thanku :)

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

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

  • @anujkumar8190
    @anujkumar8190 11 месяцев назад

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

    • @HelloWorldbyprince
      @HelloWorldbyprince  11 месяцев назад +1

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

  • @mohdsuhail3545
    @mohdsuhail3545 2 года назад +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 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 .

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

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

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

    Maza aagaya ! :D Thankyou Bhai

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

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

  • @llo.welc_me
    @llo.welc_me Год назад

    best explanation ever ❤

  • @afrozanjum5086
    @afrozanjum5086 2 года назад +2

    Amazing work brother
    Please keep up the good work🔥

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

    Thanks bro

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

    amazing lecture

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

    great indebt explanation👍

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

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

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

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

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

    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_
    @Ankit-AKA...harikrishana_ 3 года назад +2

    Awesome 😎😎😎
    It is better than screen

    • @HelloWorldbyprince
      @HelloWorldbyprince  3 года назад

      Keep learning buddy

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 года назад

      bro , vectors of vectors me max index kaise nikalte hai ?? like o/p should be 9+20

  • @349_rahulbhattacharya6
    @349_rahulbhattacharya6 3 года назад

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

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

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

  • @Alokkumar-xu8sf
    @Alokkumar-xu8sf 3 года назад

    bhaiya g god

  • @smilemania5102
    @smilemania5102 3 года назад

    Bhaiya jii monster please aisa video bnaye

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

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

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

    Maja aagyle bhaiya

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

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

  • @349_rahulbhattacharya6
    @349_rahulbhattacharya6 3 года назад +1

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

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

    please tell:
    Time and space complexity?

  • @debasmitamahanto3206
    @debasmitamahanto3206 11 месяцев назад

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

  • @lucario4399
    @lucario4399 2 года назад +3

    4:01 v1
    13:00 v2

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

    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)

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

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

    • @HelloWorldbyprince
      @HelloWorldbyprince  3 года назад

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

    • @janvimyadventures1310
      @janvimyadventures1310 3 года назад

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

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

    Aap bhi aditya verma ki tahar pdha rhe ho sir

    • @HelloWorldbyprince
      @HelloWorldbyprince  2 года назад +2

      Bass Aditya Verma jitna suscribers v ho jaye ☺️☺️

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

      @@HelloWorldbyprince keep on uploading video like this
      It will be possible