Binary Tree in Data Structures | All about Binary Tree | DSA Course

Notes of this Lecture: docs.google.com/document/d/1H...
🔴 Alpha Placement Course - bit.ly/3oqidsd
Topics :
00:00:13 - Introduction to Trees
00:04:00 - Binary Trees
00:08:56 - Quiz Question
00:11:37 - Build Tree (from Preorder)
00:18:30 - Preorder Traversal
00:24:20 - Inorder Traversal
00:27:38 - Postorder Traversal
00:30:40 - Level Order Traversal
00:40:52 - Count of Nodes
00:46:45 - Sum of Nodes
00:49:54 - Height of Tree
00:54:02 - Diameter of Tree (Approach 1)
01:03:30 - Diameter of Tree (Approach 2)
01:10:41 - Subtree of another Tree
01:20:29 - Homework Problem Hint
🔥Java Placement Course : • Introduction to Java L...
🔥Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
🔥Telegram: t.me/apnikakshaofficial
🔥Instagram: / dhattarwalaman
My KZread Gear 😉: docs.google.com/document/d/1p...

Пікірлер: 689

  • @sreejhari554
    @sreejhari5542 жыл бұрын

    Ma'am I request you to post videos on java + DS as fast as possible. These are really helpful.

  • @codingwithpiyal

    @codingwithpiyal

    2 жыл бұрын

    You are absolutely right

  • @harshalbadgujar944

    @harshalbadgujar944

    2 жыл бұрын

    @@codingwithpiyal already uploaded check playlist

  • @CsTechworld

    @CsTechworld

    2 жыл бұрын

    @@harshalbadgujar944 bro playlist are incomplete.

  • @hitishachouhan442

    @hitishachouhan442

    2 жыл бұрын

    Yes mam same request

  • @Pranjalt2024

    @Pranjalt2024

    2 жыл бұрын

    Maam please make video on graph Two pointer and sliding window just u did in C++ course that is really helpful

  • @vinaysingla3241
    @vinaysingla32412 жыл бұрын

    I thought this channel only became a guidance and motivation channel. Glad to see a teaching content after so long.

  • @shruthi873
    @shruthi8732 жыл бұрын

    mam ur videos are to the point and directly just absorbed to head...pls post videos on this java dsa regularly mam...it is veryyy useful

  • @alvaaaas
    @alvaaaas Жыл бұрын

    Amazing content ma'am ☺️ lots of respect to you guys and especially Shraddha didi for such an awesome teaching skills

  • @amrithnath8528
    @amrithnath85282 жыл бұрын

    Mam can you do a series on aptitude ,logical reasoning ,verbal ability like that you done c++ complete placement course because so much companies are now needed these topics for placement like tcs nqt ... So much work questions under each video as pdf.Its a very helpful all including college students... Then the placement package is also be a complete one ..

  • @Smart_Consumer1
    @Smart_Consumer1 Жыл бұрын

    Beautifully explained and was really easy to understand for someone from non coding background 🎉

  • @HemantSharma-qx6vl
    @HemantSharma-qx6vl Жыл бұрын

    The only platform i have learnt in the simplest way. Thank you ma'am

  • @mitanshimandloi5803
    @mitanshimandloi58032 жыл бұрын

    Mam, this java + DS playlist is amazing. It helped me a lot. I request you to complete this playlist as soon as possible. It will be very helpful.

  • @ritamdas9114

    @ritamdas9114

    Жыл бұрын

    is it completed ??

  • @RambaliyaYTB

    @RambaliyaYTB

    Жыл бұрын

    Is it?

  • @SomilSrivastava2406

    @SomilSrivastava2406

    Жыл бұрын

    @@ritamdas9114😂🎉

  • @srishtisingh729
    @srishtisingh729 Жыл бұрын

    No doubt Shraddha didi has a decent way of teaching which is very rare nowadays. She makes it easy for the student to adopt the concepts and most importantly, my brain doesn't ache after this rather I get interested to practice more of it.

  • @User-ko5hu
    @User-ko5hu2 жыл бұрын

    Hey Ma’am, Your content is on a level far beyond anyone! I want to put a little request: If you could please make a 1.5 hour long video on stack and queues with all the important concepts and questions(easy, medium and hard) including in it and also cover interview oriented questions(kinda crash course type).

  • @Cool96267

    @Cool96267

    2 жыл бұрын

    Much required

  • @ritik6947

    @ritik6947

    2 жыл бұрын

    +1, A single video which can help in revising the concepts, Much Required !

  • @adarsh2879

    @adarsh2879

    2 жыл бұрын

    @@Cool96267 agreed much needed

  • @muskansharma4991

    @muskansharma4991

    2 жыл бұрын

    True...stacks nd queue...

  • @ayushsarangi4095

    @ayushsarangi4095

    2 жыл бұрын

    +++100

  • @gauravpathak560
    @gauravpathak560 Жыл бұрын

    I am very lucky to get this video, really helpful it makes me able to understand how to use recursion and queue and think about tree questions. Thanks Shraddha Di. Keep it up with different content . Best wishes from my side

  • @shirishgoyal7379
    @shirishgoyal73796 ай бұрын

    in the buildTree function what will be the recursion exit condition? I am getting ArrayIndexOutOfBoundException

  • @istkaarali6055
    @istkaarali60552 жыл бұрын

    Mam, this java + DSA playlist is amazing. It helped me a lot. Thanks a lot. Ma'am I request you to post videos on java + DSA as fast as possible. These are really helpful.

  • @jagdishjangir8066
    @jagdishjangir80663 ай бұрын

    You are directly working on efficient techniques. For beginners it’s not easy to understand. Write code for naive approach and then teach efficient method.

  • @goprothink4517
    @goprothink45172 жыл бұрын

    I know/think you have a reason to not upload any lectures video, but you have understand that many learners are connected to this course and depend on this because they are used to your teaching techniques and now they are helpless. At least you tell us time or reason so that we can move on and save us precious time. Thanks for teaching us.

  • @Aqirlone
    @Aqirlone2 жыл бұрын

    Please complete this series as soon as possible please .we really need it .

  • @Expert_Advice

    @Expert_Advice

    2 жыл бұрын

    For easy learning of searching algorithm...do watch kzread.info/dash/bejne/o52jsZuamdLgms4.html

  • @rushikeshchoudhary5920
    @rushikeshchoudhary59202 жыл бұрын

    Hey shraddha , I just completed this compelte series on java and it was the most amazing thing i had ever learnt. I request you to plz continue this series and also bring lectures on advance java topics. I really love the way you teach and your relly INSPIRING. THANKYOU for the effort your taking to tech us.

  • @shivamvishwakarma7864

    @shivamvishwakarma7864

    2 жыл бұрын

    Isme ye nhi samjh aa rha, sumofnode and countof node dono me ham specify to kiye nhi ki node ko count karna h ya node ki value ko, to apne aap kaise return kar rha h sahi value

  • @buggy_bug

    @buggy_bug

    2 жыл бұрын

    @@shivamvishwakarma7864 count wale me last me 1 se increment kiye hai aur sum wale me root.data se kiye hai yahi se differentiate ho reha hai

  • @creativitypoint7046
    @creativitypoint70462 жыл бұрын

    Plzzz, upload next part ASAP. The whole playlist was very helpful. Thanks

  • @rohithalsana4537
    @rohithalsana45372 жыл бұрын

    Ma'am awesome video .Really helped me understand the topic deeply in class 12th.

  • @dhruvanand6395
    @dhruvanand63952 жыл бұрын

    mere college me just trees start hua and mai pahle ki video dekhi thi aapki and trees soch hi raha tha kaha se karu and lo aapki video aa gai .. thankuuu

  • @bhagvatawargand8159
    @bhagvatawargand81592 жыл бұрын

    Please update course on regular basis, It is very helpful

  • @vinaybilla2953
    @vinaybilla29534 ай бұрын

    U r so brilliant dhidhi Ur style is different I am learning all dsa from ur java course Now iam in binary

  • @ziyan.pati9
    @ziyan.pati92 жыл бұрын

    These content is so valuable. Please upload more videos on DS + JAVA.

  • @shuvoahmed5217
    @shuvoahmed52172 жыл бұрын

    Her level of explanation is outstanding ❤️🌼

  • @animegod5295
    @animegod52952 жыл бұрын

    Please keep uploading videos regularly and finish this playlist fast

  • @avneez1631
    @avneez16312 жыл бұрын

    Plzz teach us how to take input in different ways like the driver code instead of just using direct values. It will be helpful for us for full function problems. Btw I really liked it. Everything's clear. 💥💯

  • @mohammadsaqib8639
    @mohammadsaqib86392 жыл бұрын

    zndgi m pehli baar tree smjh aaya hai thanks for this lecture

  • @AbhishekChoudhary-fu2ng
    @AbhishekChoudhary-fu2ng2 жыл бұрын

    U teach very well in a very easy to understandable way👏👏👏👏

  • @memeistan711
    @memeistan7112 жыл бұрын

    Ma'am I'm big fan of you . I'm from Balochistan, Pakistan . I'm BS English student but now I'm learning coding and programming so your lecture very helpful to me .

  • @PriyanshuCK

    @PriyanshuCK

    2 жыл бұрын

    ❤️ from India

  • @maneeshmondal6096
    @maneeshmondal60962 жыл бұрын

    Mam please add the further videos(Dynamic Programming) on this playlist . This playlist is very helpful for us .

  • @noorullahansari3331
    @noorullahansari3331 Жыл бұрын

    Good explanation with code I am very happy 😊😁 Thank you very much

  • @siddhantvishnu4309
    @siddhantvishnu430910 ай бұрын

    Thanks for the lecture!! was able to solve the homework question.

  • @soumyaramakrishnan1221
    @soumyaramakrishnan1221 Жыл бұрын

    Di I watched this video and it cleared all my doubts regarding trees thank you so much. I have one request can you solve more problems on binary trees asked in amazon, google, microsoft and other product companies please it will be really helpful. Also other traversals as well like zig zag traversal 😊😊😊😊

  • @priyanshuvettori5179
    @priyanshuvettori51792 жыл бұрын

    I have never seen a better explainer

  • @13-xiibsundram39
    @13-xiibsundram392 жыл бұрын

    Thankyou for posting the next video but please try to complete the series as fast as possible we are waiting for the next video.

  • @aasiz_online7999
    @aasiz_online79992 жыл бұрын

    Please complete this awesome series. Some videos on Hashmap, graph and DYnamic programming etc whenever you get time if possible as soon as possible

  • @shivamdandekar1024
    @shivamdandekar10242 жыл бұрын

    try to cover all topics don't miss anyone because he is very complicated topics and discuss the interview questions for tree ... little bit competitive programing questions

  • @priyanshuvettori5179

    @priyanshuvettori5179

    2 жыл бұрын

    What are you saying

  • @NIMITXVI
    @NIMITXVI2 жыл бұрын

    Shraddha didi and aman bhaiya i love both of u u guys are doin amazing work but it's my humble request to complete this playlist I am waiting from last 1.5 months u guys are bringing new tutorials of new languages (they are also amazing) but u have forgot bout this playlist so plz complete it as soon as possible 🙏🖤 BTW u guys are amazing lots of love 🖤

  • @ayushsinha1909
    @ayushsinha19092 жыл бұрын

    Complete the java course asap!! Really helpful and easily understandable

  • @harshsulakhe2720

    @harshsulakhe2720

    Жыл бұрын

    everywhere we consider root of binary tree as level 0 but here,why is she considering it as level 1,the concept is wrong ?

  • @dhruv5041

    @dhruv5041

    11 ай бұрын

    @@harshsulakhe2720 pehle vid dheka kro fir gyan dia kro

  • @daya_ashiquiwala_status
    @daya_ashiquiwala_status10 ай бұрын

    Aap Explain bahut acche se karti hai

  • @kshivatejeshnitap8240
    @kshivatejeshnitap82402 жыл бұрын

    can you explain why we are using a static Node class to create a binary tree ? We didn't do this for linked lists so why is it required now?

  • @nikhilgoud7895
    @nikhilgoud78952 жыл бұрын

    Mam, Could you please complete the series as soon as possible? It would be great help for us.

  • @thirumalainambi6068
    @thirumalainambi60683 ай бұрын

    tbh it was the best ever video apna college made Trees respect++

  • @honeysharma1987
    @honeysharma19872 жыл бұрын

    Hello Mam, my study is paused. Please post the next lesson. Thanks a lot for your efforts and god bless you for all the happiness

  • @shefalisrivastava1745
    @shefalisrivastava17452 жыл бұрын

    Please provide spring concepts also in your videos, they are really helpful

  • @jayzgroove
    @jayzgroove2 жыл бұрын

    Perfect teaching thank you for guide in hindi especially

  • @sachinprasad6324
    @sachinprasad63242 жыл бұрын

    This is the best video related to tree(DSA) I have ever came across., Thank you ma'am for this. Lost of love. Increament++;

  • @MdAfroj-ff8in
    @MdAfroj-ff8in2 жыл бұрын

    Waooo thank you so much, mai avi avi apka ye trees ka video dhund raha tha😍

  • @anuragkumar8257
    @anuragkumar82572 жыл бұрын

    please finish it fastly i'm very excited!

  • @learningshahnawaz8774
    @learningshahnawaz8774 Жыл бұрын

    Sardha didi aap sare doubt clear dete h 🙏🙏 so thank you so much 🙏

  • @ai_world_2025
    @ai_world_20252 жыл бұрын

    Outstanding diii.. Upload more DSA Video Tutorial.. Please🙏🙏🙏

  • @chaitanyalohar9308
    @chaitanyalohar93082 жыл бұрын

    Thanks for continuing this series...

  • @naresh8862
    @naresh8862 Жыл бұрын

    Really mam your teaching way👌 maja aa gya bhut acha explaine lete ho

  • @questionbaba
    @questionbaba2 жыл бұрын

    I was waiting this video many time 🥰🥰

  • @abhi77ellandala10
    @abhi77ellandala102 жыл бұрын

    sir/ma'am I am humbly requesting you that please complete this Java DSA course as quickly as possible!

  • @ashutoshnautiyal3372
    @ashutoshnautiyal33722 жыл бұрын

    Thank you mam, from the bottom of my Heart.

  • @tahirnawaz5989
    @tahirnawaz59892 жыл бұрын

    Thank you didi very helpful video God bless you keep it up,

  • @shortstoriescafe9052
    @shortstoriescafe90522 жыл бұрын

    Very nice explanation.. which gear you use for these videos? The link in description is not working 😕

  • @MuhammadUsman-kf6sm
    @MuhammadUsman-kf6sm2 жыл бұрын

    1 short videos are too much best way to learn smartly and effectively, hope to get one 🕐 on all main dsa topics

  • @sidheshwartiwari9834
    @sidheshwartiwari98342 жыл бұрын

    While watching this video I kept remembering the DOM being a developer I work with it almost daily and yo boiii it's actually a tree 👍🏼

  • @__iam__gaurav__
    @__iam__gaurav__2 жыл бұрын

    Thank you so much mam for your precious videos that really help me a lot.....Ma"am could you please make a graph DS video??

  • @umasaiveerabhadraraosurapu2677
    @umasaiveerabhadraraosurapu26772 жыл бұрын

    Thank you for your efforts

  • @anitanigam7372
    @anitanigam7372 Жыл бұрын

    Thank you so much ma'am very helpful video 😊

  • @rishabhbhatnagar7036
    @rishabhbhatnagar70362 жыл бұрын

    When can we expect this playlist to finish? 🤗 Already completed this much.

  • @_RS_upsc_Aspirants
    @_RS_upsc_Aspirants Жыл бұрын

    Very helpful video & Thank you sradha didi ❤!!!!!!!!!!!!!!!!

  • @mihzabahadur
    @mihzabahadur3 ай бұрын

    although it is working but its not clear how nodes.right is call always buildtree function is called?

  • @tarunpahuja3443
    @tarunpahuja34432 жыл бұрын

    Every problem can be viewed as pre post or inorder traversal. Count of nodes, sum of nodes, height of tree, diameter = post order,

  • @akashgupta6344
    @akashgupta63442 жыл бұрын

    After watching the video, I tried in order traversal on leetcode but in that it was a return type function: public TreeNode increasingBST(TreeNode root). I tried hard to do it but couldn't do. Please help me to solve it.

  • @ascreation1546
    @ascreation15462 жыл бұрын

    Nice playlist.Please make videos on remaining topics such as graphs, dynamic programming, etcc

  • @mrsiddharthagamer
    @mrsiddharthagamer2 жыл бұрын

    Ma,am your class is amazing

  • @dishatarafdar8881
    @dishatarafdar8881 Жыл бұрын

    This is a part of graph theory... It is a important course in Mathematics

  • @asifashaik9792
    @asifashaik97922 жыл бұрын

    Mam please post videos as soon as possible we are eagerly waiting for your videos and we want complete course as soon as possible

  • @siddarthathatikonda9430
    @siddarthathatikonda94302 жыл бұрын

    waiting for the continuation of the course, please upload vedios of BST,AVL,RED BLACK TREES,GRAPHS,.. I REQUEST TO START A COURSE ON DESIGN ANALYSIS AND ALGORITHMS (DAA)..

  • @ArifaSultana-qw3ss
    @ArifaSultana-qw3ss2 жыл бұрын

    Ma'am, can you make a video on file and read strings and integers from the file and separate them ?

  • @anandraj3316
    @anandraj33162 жыл бұрын

    Please make a playlist of java sql Because it is very difficult to understand And you explaining method is amazing. please help me

  • @rahuljha5270
    @rahuljha52702 жыл бұрын

    background music name

  • @ashishchaudhary3645
    @ashishchaudhary36452 жыл бұрын

    when will you teach hashing and other topics in java+dsa, or do we have to learn from c++ list?

  • @hemapriya6103
    @hemapriya61032 жыл бұрын

    Hi, Thanks it's very useful. Please make in English too if possible.

  • @satyammishra24
    @satyammishra242 жыл бұрын

    Thank you mam very much for this course...... Please mam complete this couse for competitive coding also🙏🙏🙏as u did in c++ course.... Its a humble request to complete it as soon as possible mam please 😭🙏

  • @piyush2738
    @piyush27382 жыл бұрын

    I requested you Guys is courses pr bhi thoda sa focus kiya jayee....because a lot of students focusing on java as well.

  • @sidheshwartiwari9834
    @sidheshwartiwari98342 жыл бұрын

    Man this is a goldmine... Maja aa gya

  • @soumyasaxena8734
    @soumyasaxena87342 жыл бұрын

    I like the way of your explaining di.. chutaku sa task 😄

  • @HimanshuSharma-ql4gm
    @HimanshuSharma-ql4gm2 жыл бұрын

    Didi plz complete the full stack web development course, it had been stopped at React js from so many days

  • @vivekpaliwal1876
    @vivekpaliwal18762 жыл бұрын

    You should make 3 hours vedio for each topic and it's all imp interview questions. For example binary tree and all its 20 important interview questions with solutions explained

  • @sagarverma4311

    @sagarverma4311

    10 ай бұрын

    True

  • @pragatipaliwal1154
    @pragatipaliwal11542 жыл бұрын

    Ma'am can you please post videos on multithreading and java 8 features . These were really helpful.

  • @ChandanKumar-xd1tg
    @ChandanKumar-xd1tg2 жыл бұрын

    DSA bhut easy way samjhate ha mam ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

  • @antarikshsharma573
    @antarikshsharma5732 жыл бұрын

    Exceptional. This approach is through recursion. Can you please share the other approaches too like iterative one or if you already have video on them, then it will be great. I have seen some of the question on leet code where they have specifically mentioned to use iterative approach rather than the recursive one. And yes like I said ,your videos are exceptional. Thanks :)

  • @riturajpatel669
    @riturajpatel6692 жыл бұрын

    Thanks didi aapne teachers se bhi accha samjhya

  • @sathishyadav6185
    @sathishyadav6185 Жыл бұрын

    Watching you isn't boring!😄

  • @RohitKumar-ft4xn
    @RohitKumar-ft4xn2 жыл бұрын

    Please complete this DSA course in Java as soon as possible as my college placements is going to start from next month

  • @proplayerak_4747
    @proplayerak_47472 жыл бұрын

    Love the way you teach.....

  • @krishnakakade3081
    @krishnakakade30812 жыл бұрын

    Thanks for very good explanation

  • @buggy_bug
    @buggy_bug2 жыл бұрын

    very informative, thankyou Shraddha

  • @sadafkhan7491
    @sadafkhan7491 Жыл бұрын

    Ma'am please post video on graph in java. That are very helpful for us. :)

  • @John12685
    @John126852 жыл бұрын

    Pls focus on problem solving and solve problems of every topic as many as possible. So that we can crack any interview. Thanks

  • @reenayadav8468
    @reenayadav84682 жыл бұрын

    Thank you so much finally vedio aaya🙏🙏

  • @arindamsomadder6992
    @arindamsomadder69922 жыл бұрын

    Mam this course is very much helpful..mam can u add the advance topics of java in this course..!

  • @techiestreamsbyshubham5806
    @techiestreamsbyshubham58062 жыл бұрын

    How did it print 1(root node) in very first example can someone explain ?

  • @heartymelodies1754
    @heartymelodies17542 жыл бұрын

    I'm getting error I.e arrayindexoutofrange please can I know the reason

  • @CRICTHAT11
    @CRICTHAT116 ай бұрын

    In diameter ques diam3=height(root.left)+height(root.right); bcoz we are counting edges in this ques and height basically gives us no. of nodes so we don't need to add 1 to it.