Lecture 68: Morris Traversal || Flatten a Binary tree to Linked List || C++ Placement Series

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 461

  • @govindsuryavanshi6653
    @govindsuryavanshi6653 ปีที่แล้ว +23

    First I have completed all DSA series and now conclude this is Greatest ever DSA series to exist on youtube or paid courses. Your contribution will be remembered. You're God of DSA for us🙇‍♂ Thanks you.

    • @Shivam_guru
      @Shivam_guru หลายเดือนก่อน

      then which company are you work now ?

  • @musaibmuneer1907
    @musaibmuneer1907 2 ปีที่แล้ว +12

    He himself wasn't able to clear this question during interview but surely taught us the concept so well for our interview,this is where the professor are lacking

  • @adityanigam8373
    @adityanigam8373 2 ปีที่แล้ว +62

    Thank You bhaiya for this amazing course ...Consistency++ ✨✨✨

  • @raashishaggarwal6545
    @raashishaggarwal6545 2 ปีที่แล้ว +68

    Most structured course on DSA, even paid courses can't match to this content.

  • @r060zeeshankhan9
    @r060zeeshankhan9 2 ปีที่แล้ว +2

    Bhaiyya aapne flatten a binary tree wala question bohot accha samjhaya ... GREAT

  • @Everything00523
    @Everything00523 2 ปีที่แล้ว +8

    Bhaiya I've completed this playlist... Eagerly waiting for more vdos... Pls upload more vdos... I know u might be busy with ur hectic schedule... But i am really looking forward to the vdos... Thanks for the playlist.. Much love ❤

  • @riyaanhussain7851
    @riyaanhussain7851 2 ปีที่แล้ว +8

    Salute to you bhaiya
    You are providing such high level knowledge for free 🤴

  • @AnuMessi10
    @AnuMessi10 2 ปีที่แล้ว +4

    Love Babbar and compromise in quality are two parallel lines 💥

  • @yashgupta4866
    @yashgupta4866 2 ปีที่แล้ว +21

    Thanku for this amazing course
    Consistency++

  • @prashantbirajdar9271
    @prashantbirajdar9271 2 ปีที่แล้ว +2

    haa bhiyaa chalakhi+++ waah bhiya mzaa aa gya ...subkuch samaj aya badhiya trike se..nicee....love u bhiyaa...

  • @Urahara25
    @Urahara25 2 ปีที่แล้ว +7

    Bhaiya one request...mai aapka Amazon interview experience dekha tha... usme apne bataya tha low level design questions aaye the
    ..to please uske bhi resources bta dijiye for students And for SDE1 to SDE2...I am following your series with dedication... Currently completed upto 34 lectures...

  • @prateeksharma3680
    @prateeksharma3680 2 ปีที่แล้ว +2

    bhaiya kb se wait kr rha tha video ka
    attendance marked 👍👍👍
    consistency 🔥🔥

  • @prathameshmalve9727
    @prathameshmalve9727 4 หลายเดือนก่อน

    The efforts you put in this series>>>>

  • @smartcoding174
    @smartcoding174 2 ปีที่แล้ว +6

    what a explanation.... huge thanks to you brother...

  • @RahulKumar-wt9qc
    @RahulKumar-wt9qc 2 ปีที่แล้ว +1

    Best video on Morris traversal bhaiya👍👍

  • @anonbaba6816
    @anonbaba6816 2 ปีที่แล้ว

    kya teacher h re baba itna to koi bhi explain nhi krta ,, 5th class ka bachha easily samjh le . wah wah !!!

  • @rahulkumargupta2333
    @rahulkumargupta2333 ปีที่แล้ว

    chalaki ++; jitni tarif karu kam h,u r my life savour

  • @ch0c0_1
    @ch0c0_1 ปีที่แล้ว

    bhai mza aagya ye concepts pd ke... hard question ko easy bna diya aapne. Kuch nya seekhne ko mila. Thanks.

  • @jaditi930
    @jaditi930 2 ปีที่แล้ว +8

    Thankyou bhaiya for your time and effort!Highly appreciate your consistency.Finally I am able to understand DSA concepts like no other.

  • @suyashjain3223
    @suyashjain3223 ปีที่แล้ว +3

    Explanation OP!!! && Chalaki++

  • @akash-jpeg
    @akash-jpeg 2 ปีที่แล้ว

    Bhaiya kya Video bnate ho aap...mzaa aa jata h....pta hi nhi chlta kb 1 hr khatm ho gya❤️❤️😄

  • @janvisharma2377
    @janvisharma2377 7 หลายเดือนก่อน +1

    thank you for this series , this help me a lot to understand concepts

  • @amanraj7467
    @amanraj7467 ปีที่แล้ว

    No one can give this type of explanation thx bhaiya

  • @tcoc05pratikwagh17
    @tcoc05pratikwagh17 ปีที่แล้ว +1

    bhaiya(chalaki + consistency )++

  • @codingarena4297
    @codingarena4297 2 ปีที่แล้ว

    After this video. I have totally fallen in love with your content.🤗

  • @KPCoder
    @KPCoder 2 ปีที่แล้ว +1

    Thanks you sir, excellent content, no one can explain like you from basic 🙏 god bless you

  • @SovanMajumder
    @SovanMajumder ปีที่แล้ว +1

    consistency++ && dedication++

  • @shivangsharma5987
    @shivangsharma5987 2 ปีที่แล้ว

    Bhaiyaa maza he aa gyaa hai ...Aapne mujhee padhne ki aadat daal di aapne padhaane ke aandaaz se ...

  • @vinaygupta2369
    @vinaygupta2369 2 ปีที่แล้ว

    thanks bro, today I completed all yourb BT videos. such helpful, youur efforts are priceless.

  • @d_3_a_d_p_o_o_l
    @d_3_a_d_p_o_o_l 2 ปีที่แล้ว

    Progress In Life, only because of you, BHAIYA....

  • @aayushmaantawer285
    @aayushmaantawer285 4 หลายเดือนก่อน

    Ek Number explaination best

  • @nishant8581
    @nishant8581 8 หลายเดือนก่อน

    Bohott hi achi video thi bhaiya, sab itna ache se samjh aagya, im late, but im consistent now

  • @aryansen2410
    @aryansen2410 หลายเดือนก่อน

    solid amazing lecture tha bhaiya

  • @AbhishekGupta-cg2vj
    @AbhishekGupta-cg2vj 2 ปีที่แล้ว +1

    Thanku for this amazing course

  • @rachit_joshi
    @rachit_joshi 6 หลายเดือนก่อน +1

    Thank You So Much BHRATA SHREE !!!!!!!

  • @hrithiktiwari3046
    @hrithiktiwari3046 2 ปีที่แล้ว +5

    please update notes as well bhaiya it will be another great help thanks alot ❤️

  • @MANISH-zd3oc
    @MANISH-zd3oc 2 ปีที่แล้ว +1

    Chlaaki++;
    Consistency++;
    Sbkuch++;
    😌❤️
    #babbar_bhaia;

  • @namratapatil8692
    @namratapatil8692 2 ปีที่แล้ว

    completed watching all videos on binary tree looking forward to watch rest ...💜

  • @elitegamer8008
    @elitegamer8008 ปีที่แล้ว

    What a lecture totally mind blowing.

  • @santoshkumarpandranki7296
    @santoshkumarpandranki7296 ปีที่แล้ว

    Thank you bhaiya for such valuable content for free of cost

  • @yashchauhan7221
    @yashchauhan7221 2 ปีที่แล้ว +1

    Finally Caught Up With You Bhaiya 🔥

  • @akashjha822
    @akashjha822 2 ปีที่แล้ว

    Pehle mujhe tree se darr lagta tha...
    Phir maine aapki video dekhi...
    Ab tree mujhse darta hai...
    Thank you for this DSA Course ❤️

  • @ashutoshkr99
    @ashutoshkr99 2 ปีที่แล้ว +1

    Present bahiya...!!
    Consistency level 🔥🔥

  • @gargichauhan4307
    @gargichauhan4307 4 หลายเดือนก่อน

    Thank You soo much for your wonderful teaching!

  • @aastikofficial6100
    @aastikofficial6100 8 หลายเดือนก่อน

    chalaki++ nice explanation sir following you from starting ❤❤

  • @BornHubisLive
    @BornHubisLive 2 ปีที่แล้ว +1

    Nice efforts broo....
    but funny part of the video is(20.53)kachree ki gadi aayi hai to dyaan na de........

  • @sherebanoburhani8939
    @sherebanoburhani8939 2 ปีที่แล้ว

    Best consistency on TH-cam

  • @faujistaan_
    @faujistaan_ 8 หลายเดือนก่อน

    You actually made problems easy

  • @verma_jay
    @verma_jay ปีที่แล้ว +1

    ek number bhaiya🔥🔥

  • @himanshugoyal5239
    @himanshugoyal5239 2 ปีที่แล้ว +1

    Content OP
    Dhanyawad Bhaiya

  • @sahilchhabra2391
    @sahilchhabra2391 2 ปีที่แล้ว

    best course bhaiya, consistency++;

  • @anuragpatel7787
    @anuragpatel7787 7 หลายเดือนก่อน +1

    hnji this is anurag patel
    Lec 68 completed successfully ✅

  • @Master26203
    @Master26203 ปีที่แล้ว

    Best explanation of this question this is!!!

  • @visheshkaran7083
    @visheshkaran7083 2 ปีที่แล้ว +1

    Thank you so much bhaiya kaafi lag hogaya hai apka course due to offline colleges and mid sem..but I'll catch up very soon I promise thanks a lot bhaiya.

  • @agritasrivastava1783
    @agritasrivastava1783 2 ปีที่แล้ว +16

    Placement->left = OS course;
    Placement->right = DSA course;
    cout

    • @Urahara25
      @Urahara25 2 ปีที่แล้ว +1

      One thing also needed.... Low level system design resources...And aptitude preparation resources...

    • @monstersp8331
      @monstersp8331 2 ปีที่แล้ว

      Sir 🥺, DSA ke liye konsi language Karu?? For college and future perspectives 🖐️ please replay 🥺🥺

    • @mohitjoshi4209
      @mohitjoshi4209 2 ปีที่แล้ว

      @@monstersp8331 c++ ya java me se koi bhi pakadh lo

  • @daipayannit-s415
    @daipayannit-s415 ปีที่แล้ว +1

    Commenting for better reach!!

  • @lakshaya
    @lakshaya 2 ปีที่แล้ว

    Bhaiya,plz don't stop this course only depend on it

  • @saqib399
    @saqib399 ปีที่แล้ว

    Thanks for amazing explanation,just a minute mistake that was confusing me, you've written while(root!=NULL) but you meant while(current!=NULL).Realized it at 9:30

  • @chetanyapratapsingh7068
    @chetanyapratapsingh7068 ปีที่แล้ว

    Crazy explaination...Maza aa gya

  • @anshumansharma1069
    @anshumansharma1069 ปีที่แล้ว +1

    Dammnnn😍😍 What a series

  • @harshpandey4190
    @harshpandey4190 ปีที่แล้ว

    Thankyou So Much bhaiya for this amazing series

  • @JaiJain
    @JaiJain 2 ปีที่แล้ว

    Bhaiya ab mujhe dsa me confidence aaraha hai
    thank you!

  • @avdharna1978
    @avdharna1978 ปีที่แล้ว

    flatten tree to Linked List. maza aa gaya.

  • @anuptewary3016
    @anuptewary3016 2 ปีที่แล้ว

    Thank you so much bhaiya for your efforts and this course one again present bhaiya with lot's of fire 🔥 in eyes like you

  • @Kaurs_Life
    @Kaurs_Life 2 ปีที่แล้ว +11

    Bhaiya, can u provide a time table kinda like u have to complete this much in a day provided u r working professional, student etc. etc...,this will be helpful for the people who have started late(after course launch) or will start later as this will give us a target else we may go slow at our own pace ,there will be no pushing factor.

  • @ayushp4471
    @ayushp4471 2 ปีที่แล้ว

    Thank you bhaiya for your efforts and also your explanation is the BEST❤

  • @nandiniverma5273
    @nandiniverma5273 2 ปีที่แล้ว

    chalaki ++ 😂😂 Itna bhadia smjh a gya ye traversal . Thankyou bhaiya❤️

  • @simplesolutions2621
    @simplesolutions2621 2 ปีที่แล้ว +3

    Apna Time aane waala hai..bas sab taayar raho aur tayaari karte raho! 🔥

  • @abhimanyuthapliyal5823
    @abhimanyuthapliyal5823 9 หลายเดือนก่อน

    Thank you sir Awesome explanation

  • @HarishKatariya-k9u
    @HarishKatariya-k9u 3 หลายเดือนก่อน

    Mein bhi comment me tarif krne aaya tha. Par Kya kru koi naya word mila hi nhi phle se hi itne logo ne tarif kr rkhi he 😂 baki aapke questions Or padhane ka tarika, dono next level par he bhai, Thanks a lot for this amazing series.

  • @keshavgambhir9894
    @keshavgambhir9894 2 ปีที่แล้ว

    Present Bhaiya
    Consistency OP
    Thank you for the courses

  • @satyam0777
    @satyam0777 ปีที่แล้ว

    badhiya se samjh aya bhaiya thank you

  • @DevSingh-hm5ei
    @DevSingh-hm5ei 11 หลายเดือนก่อน

    Excellent video, thanks ❤

  • @kartikeyrai8258
    @kartikeyrai8258 2 ปีที่แล้ว +2

    Maza aa gya bhaiya... Aur chalaki++ 😂

  • @prashantsharma7402
    @prashantsharma7402 2 ปีที่แล้ว

    Chalakiiiii+++++ and consistency+++

  • @mayankaggarwal7669
    @mayankaggarwal7669 2 ปีที่แล้ว +7

    Another suggestion, infact help, if possible please create a seperate playlist wherein you include only the Question solving videos which will help us in revising quickly, currently we sometimes have to keep "iterating" (😂😂) through the playlist for those videos.

    • @radiclexgaming6842
      @radiclexgaming6842 2 ปีที่แล้ว +3

      Haan zaroor bhosdike , Microsoft mein toh tera baap jaayega na kaam karne !! 🤣🤣

    • @raashishaggarwal6382
      @raashishaggarwal6382 2 ปีที่แล้ว

      @@radiclexgaming6842 sahi bola bc...

  • @girishbhargava6367
    @girishbhargava6367 2 ปีที่แล้ว +3

    i think that in the starting loop statement, instead of root != NULL, it should be while (current != NULL). Please correct me if I am wrong

  • @sahilsinghi350
    @sahilsinghi350 ปีที่แล้ว

    Thanks aa lot bhaiya, u r actuallly GOD :)

  • @sanchitsrivastav453
    @sanchitsrivastav453 ปีที่แล้ว

    I literally felt this was the easiest question among all hard questions

    • @RohitKumar-uz3hr
      @RohitKumar-uz3hr ปีที่แล้ว

      The tag of hard has been removed by GFG, its a medium level now

  • @anujburman4942
    @anujburman4942 ปีที่แล้ว

    leetcode pe solution ne 100% submission ko beat kiya👌

  • @AnkitMishra-hd5uu
    @AnkitMishra-hd5uu 2 หลายเดือนก่อน

    python code for preorder
    while node:
    if node.left:
    pred = node.left
    while pred.right != None:
    pred = pred.right
    pred.right = node.right
    node.right = node.left
    node.left = None
    else:
    node = node.right

  • @JohnSmith-uu5gp
    @JohnSmith-uu5gp ปีที่แล้ว

    Just Awesome!! Chalaki ++

  • @prathmeshparteki1016
    @prathmeshparteki1016 2 ปีที่แล้ว

    Present bhaiyya ....
    Consistency very hard 🔥🔥🔥

  • @KartikKumar-xr8gu
    @KartikKumar-xr8gu 2 ปีที่แล้ว +2

    thank you sir for such a grate course 😁

  • @vinayaksahu5334
    @vinayaksahu5334 ปีที่แล้ว

    That chalaki part made me ❤ to comment

  • @AdityaKumar-tb9he
    @AdityaKumar-tb9he 2 ปีที่แล้ว +1

    chalaaki++ and thanku for this amzing problem

  • @suplexstark
    @suplexstark 2 ปีที่แล้ว

    Bhaia kareeb aate jarhe dekhte jao

  • @mokshjain4985
    @mokshjain4985 7 วันที่ผ่านมา

    Great Work👍👍

  • @ankitkansal474
    @ankitkansal474 2 ปีที่แล้ว

    love babbar is love !

  • @nikhileshvardhangupta5708
    @nikhileshvardhangupta5708 2 ปีที่แล้ว

    Thank u so much bhaiya for this wonderful content

  • @nityaprakashpattanaik5183
    @nityaprakashpattanaik5183 2 ปีที่แล้ว

    Bhaiya projects related kuch series banayi ye na...bahot help ho jayegi ❤️❤️❤️❤️

  • @manishprajapati8544
    @manishprajapati8544 2 ปีที่แล้ว +1

    wow loved this new ALgorithm Morris baba ki jai ho 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣

  • @manavaggarwal1826
    @manavaggarwal1826 4 หลายเดือนก่อน

    Very Nice explanation

  • @shivkumar-og4ow
    @shivkumar-og4ow 2 ปีที่แล้ว

    Mehanat jari hai bhaiya vedio bnanni chahiye..

  • @ayushkushwaha171
    @ayushkushwaha171 2 ปีที่แล้ว

    Thanks for all the videos🎉🔥

  • @jatingarg1897
    @jatingarg1897 2 ปีที่แล้ว

    Badhiya hard questions bhai

  • @coder0799
    @coder0799 2 ปีที่แล้ว

    Thanks Bhaiya for just a wonderful explanation 👍..

  • @shubham2893
    @shubham2893 ปีที่แล้ว

    gajab solution sir

  • @arjunsingh-ro6uc
    @arjunsingh-ro6uc ปีที่แล้ว

    java script solution :-
    function flattenBinaryTree(root){
    let curr = root
    while(curr!==null){
    if(curr.left){
    let prev = curr.left
    while(prev.right){
    prev = prev.right
    }
    prev.right = curr.right
    curr.right = curr.left
    }
    curr.left=null
    curr = curr.right
    }
    }

  • @Saad_2129
    @Saad_2129 2 ปีที่แล้ว +1

    Love from Pakistan ♥ thanku