L4. Binary Tree Traversals in Binary Tree | BFS | DFS

Поделиться
HTML-код
  • Опубликовано: 19 авг 2021
  • Entire DSA Course: takeuforward.org/strivers-a2z...
    Check our Website:
    Linkedin/Instagram/Telegram: linktr.ee/takeUforward
    #treeSeries #striver #placements

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

  • @takeUforward
    @takeUforward  2 года назад +69

    Please like, share and subscribe :)
    Also if possible, drop a small comment!

  • @manavshah7450
    @manavshah7450 2 года назад +104

    i loved this method of putting sponsor in starting of video
    it avoids distractions.

  • @shubho5das
    @shubho5das 2 года назад +103

    0:44 The entry with the pen flip was so cool. 🔥
    Btw amazing explanation, absolutely loving this series!

  • @shubamgoswami
    @shubamgoswami 2 года назад +47

    THE ENTRY OF STRIVER BHIYA IN THIS VIDEO IS OP

  • @shantanugupta-oz1dx
    @shantanugupta-oz1dx 26 дней назад +1

    Hats off brother!!!! 10 mins and I've understood the whole thing in depth. Thank you this saved a lot of time

  • @pranabdas5097
    @pranabdas5097 2 года назад +10

    This is at best that anyone can make you understand Trees. Believe me, there is no better video for this.

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

    really loved your explanation!!! thanks for all the efforts. bought a highly paid course and still finding your videos to be simpler, better explained!!!

  • @roundface321
    @roundface321 4 месяца назад +1

    Excellent Bro!!!! I never seen such a nice explanation so far. I was looking for this kind of best series...Finally I found it. All the very best. I am your big fan from now :)

  • @abhishekusrathe6243
    @abhishekusrathe6243 2 года назад +5

    Nobody can take your place in teaching ds .Thanks a lot bro for the series.

  • @mohit7717
    @mohit7717 2 месяца назад

    Thank you so much @striver for such a bestest DSA playlist ever. You guys make me feel love with coding. IN my college time we are running here and there and not getting such a great free resources that time. Hoping to meet you in Google in coming future.💌

  • @_-6912
    @_-6912 2 года назад +4

    This is the best explanation I ever had for traversals. Thank you Raj

  • @akhilesh59
    @akhilesh59 2 года назад +34

    The Energy you put in the explanation is the reason why I did not lose my focus till the end. Thanks a lot bhaiya :)

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

      I didnt know how to put this words up. Thanks man.

  • @aleenatomy7889
    @aleenatomy7889 3 месяца назад +1

    you are so humble and inspiring

  • @sakalyamitra7778
    @sakalyamitra7778 2 года назад +12

    Traversal made easy...this one line explains how I feel about this video

  • @CuriousSarah
    @CuriousSarah 3 месяца назад +3

    For Inorder we have Root in centre, for preorder we have root at start, for post order we have root at the end. We always have Left and then Right.
    Hope this makes it easy to remember

  • @prathameshkadam7805
    @prathameshkadam7805 13 дней назад

    Thanks for making such subtle videos

  • @vedchaudhari6587
    @vedchaudhari6587 5 месяцев назад +1

    BEST EVER Explanation🔥 !!

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

    If someone is comfortable with recursion he will definitely understand it in one go! USS Great one

  • @vaishnavibodake2838
    @vaishnavibodake2838 2 месяца назад

    just want to say keep doing ...all the best

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

    Understood! So awesome explanation as always, thank you very much!!

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

    Very well explained Buddy. I did watch the complete video and took Notes as well.

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

    you are the best teacher, thank you a lot. Thanks:)

  • @gurmehakkaur8952
    @gurmehakkaur8952 2 года назад +6

    nice explaination! Just a request I am facing difficulty in implementing data structures like trees heap , etc from scratch please make videos on that too

  • @sarangkumarsingh7901
    @sarangkumarsingh7901 2 дня назад +1

    Again awesome lecture ❤

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

    Clear Concept + Nice Explanation in Short Awesome :)

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

    bhai bahot mast padhate ho yrr...
    ekdam se concept clear ho jaata hai...
    bhai ko support karo yaar sabhi...
    😊😊😊😊

  • @VineetKumar-fk2rl
    @VineetKumar-fk2rl 5 месяцев назад

    Awesome as always❤❤

  • @funzoneshorts6002
    @funzoneshorts6002 9 месяцев назад +1

    When i started atching your videos i felt no one in youtube explain in such depth that you teach your are far better than apna college and pw skills i love your content and your teaching skills
    if you read this please reply in am your great fan and i try to meet with you in google metting in future

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

    This video saved me a lot of time.
    Thank you :)

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

    Easiest and best explanation so far

  • @RAJPATEL-ir7ly
    @RAJPATEL-ir7ly Месяц назад

    ***EASY METHOD***
    Awesome Explanation btw striver
    but I use this method
    Inorder
    - draw a vertical line through each node till it slightly pieces the bottom of a node
    - Start traversing from top to left along the boundary of the tree
    - if you encounter a vertical line (like if you touch the line's end at the bottom of the node) print the data
    - continue travsersing along the boundary
    Preoder
    - draw a horizontal line through each node till it slightly pieces the left side more
    - same procedure
    PostOrder
    - draw a horizontal line through each node till it slightly pieces the right side more
    - same procedure

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

    a surreal series i am so grateful for✨

  • @bhavkushwaha
    @bhavkushwaha 3 месяца назад

    Thankyou Striver, Understood!

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

    Thank you striver !

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

    once again thanku for the entire series...

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

    Great explanation

  • @parthapanja3227
    @parthapanja3227 2 года назад +5

    Thank you for the easiest explanation ❤️

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

    Bhai u r legend. Even if some of your students surpass you someday, they will never truly surpass you. Because you never had a teacher like you to teach you.

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

    Thank you for helping me in interview ... ♥️

  • @TenzDelek
    @TenzDelek 14 дней назад

    great method of subtree

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

    Thanks a lot. Understood

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

    UNDERSTOOD !

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

    Please bhaiya bnate raho aise videos. Your explanation is what i rather we need.👌👌

  • @ruturajkadam5164
    @ruturajkadam5164 6 месяцев назад +1

    bro is majestic

  • @HarshilAndhariya
    @HarshilAndhariya 2 месяца назад +1

    thank you striver

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

    for the tree implementation, what to use list or linked list for placements.

  • @anshikagupta5858
    @anshikagupta5858 7 месяцев назад

    thankyou Striver :)

  • @TON-108
    @TON-108 5 месяцев назад

    Understood🙌🏼

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

    had solved many dsa problems but today understood the tree traversals funda

  • @Ergoswami
    @Ergoswami 3 месяца назад

    Completed!

  • @sbc498
    @sbc498 8 месяцев назад

    Thank you

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

    great explanation sir. u already know I'm a fan

  • @computer_tech98
    @computer_tech98 5 месяцев назад

    now i understand the tree traversal

  • @prabhakaran5542
    @prabhakaran5542 4 месяца назад +1

    Understood❤

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

    thank you

  • @adityakumar-wd1xh
    @adityakumar-wd1xh 2 года назад +47

    So anyone knows when will other lectures come out? since I already know the basics but need advanced
    And ofcourse massive respect for series

    • @omwarule5339
      @omwarule5339 2 года назад +5

      See Video of Strivers new channel

  • @KartikeyTT
    @KartikeyTT 3 дня назад

    tysm sir

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

    bhaiya energy aajati h bilkul mja aagya nyi videos ka wait rhta h bss

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

    Holy shit, this was amazing. I enjoy watching this more than Netflix :p

  • @divy04
    @divy04 2 месяца назад

    kabir singh bgm on striver's pen flip entry would beee....

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

    Smoothly explained

  • @VivekYadav-zj9qd
    @VivekYadav-zj9qd 2 года назад

    Thank You Striver Bhaiya , learned a lot ...

  • @l.nokesh
    @l.nokesh 27 дней назад

    Awesome

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

    amazing

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

    Simple and effective explanation

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

    thankyouuu

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

    Great

  • @lourduradjou182
    @lourduradjou182 8 месяцев назад

    striver ke super hero

  • @gautamraj-f7d
    @gautamraj-f7d 28 дней назад

    Nice 🔥

  • @per.seus._
    @per.seus._ 10 месяцев назад

    UNDERSTOOD

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

    Great explanation as expected 🙌

  • @sumitapathak2900
    @sumitapathak2900 8 месяцев назад

    Understood

  • @sreesahithilakkasani6829
    @sreesahithilakkasani6829 2 месяца назад

    nice course

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

    Its simply amazing bro!!

  • @r.apuroop4034
    @r.apuroop4034 2 года назад

    Explanation is great brother!

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

    BFS traversal is also called level-order traversal

  • @lifehustlers164
    @lifehustlers164 11 месяцев назад +12

    Completed 5/54 (9% done)

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

    Thanks for the wonderful tutorial

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

    💯💯💯

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

    🔥

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

    maine to umeed hi chhod di thi bro ki tree ka coding question kabi bna bhi paaunga ya fir nhi, fir mujhe youtube ne recommend kiya ye , thanks Striver

  • @shototodoroki4719
    @shototodoroki4719 4 месяца назад

    understood

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

    06:05 his watch also says Rooot Righttt Lefttt !

  • @prathameshkadam7805
    @prathameshkadam7805 13 дней назад

    Toooooooo gooooooood

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

    👏👏👏

  • @user-ym1nv1pw8i
    @user-ym1nv1pw8i Месяц назад

    Entry Marker Flip ;)
    Understood!

  • @divakarsaragadam8420
    @divakarsaragadam8420 4 месяца назад

    God For DSA 💌

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

    I started the habit of liking videos on RUclips just because of Striver!

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

    Liked. Cfbr will watch after some time

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

    Nice explanation!!

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

    this is very easy to follow.

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

    we love your content and we love you...🖤

  • @Versha_arya
    @Versha_arya 4 месяца назад

    op sir

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

    অনেক ধন্যবাদ। you’re a gem 💎

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

    bhaiya thoda sa studio lighting wala feel aur le aao bas uss hi ki kami h...

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

    Starting this series bhaiya.....nd congratulation for you job offer at facebook london and Google ..💖💖

  • @AkashBisht-cq3ys
    @AkashBisht-cq3ys 28 дней назад

    3july 8.39pm wed

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

    understood each and everything😍😍😍

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

    Thank you so much for your effort sir

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

    that pen flippp was lit bhaiyaaa!!