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

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

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

  • @sreejhari554
    @sreejhari554 2 года назад +621

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

    • @codingwithpiyal
      @codingwithpiyal 2 года назад +11

      You are absolutely right

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

      @@harshalbadgujar944 bro playlist are incomplete.

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

      Yes mam same request

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

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

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

      Aap fast kar ke dekh lo

  • @rushikeshchoudhary5920
    @rushikeshchoudhary5920 2 года назад +21

    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 года назад +1

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

  • @vinaysingla3241
    @vinaysingla3241 2 года назад +32

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

  • @Smart_Consumer1
    @Smart_Consumer1 2 года назад +8

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

  • @vinaybilla2953
    @vinaybilla2953 10 месяцев назад +2

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

  • @alvaaaas
    @alvaaaas 2 года назад +31

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

  • @shruthi873
    @shruthi873 2 года назад +15

    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

  • @HemantSharma-qx6vl
    @HemantSharma-qx6vl 2 года назад +9

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

  • @Aqirlone
    @Aqirlone 2 года назад +17

    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
      ruclips.net/video/qioO9aiozjk/видео.html

  • @jagdishjangir8066
    @jagdishjangir8066 8 месяцев назад +2

    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.

  • @Leo-hz-u8j
    @Leo-hz-u8j Год назад +19

    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.

  • @mitanshimandloi5803
    @mitanshimandloi5803 2 года назад +119

    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.

  • @User-ko5hu
    @User-ko5hu 2 года назад +187

    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 года назад +7

      Much required

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

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

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

      @@Cool96267 agreed much needed

    • @muskansharma4991
      @muskansharma4991 2 года назад +4

      True...stacks nd queue...

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

      +++100

  • @thirumalainambi6068
    @thirumalainambi6068 8 месяцев назад +2

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

  • @amrithnath8528
    @amrithnath8528 2 года назад +54

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

  • @CRICTHAT11
    @CRICTHAT11 Год назад +6

    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.

    • @NidhishAbraham
      @NidhishAbraham День назад +1

      𝗛𝗘𝗜𝗚𝗛𝗧 𝗢𝗙 𝗔 𝗡𝗢𝗗𝗘: The height of a node is the number of edges on the longest path from the node to a leaf. For a node n: 𝗵𝗲𝗶𝗴𝗵𝘁(𝗻) = 𝟭 + 𝗺𝗮𝘅(𝗵𝗲𝗶𝗴𝗵𝘁(𝗻.𝗹𝗲𝗳𝘁),𝗵𝗲𝗶𝗴𝗵𝘁(𝗻.𝗿𝗶𝗴𝗵𝘁))
      𝗗𝗜𝗔𝗠𝗘𝗧𝗘𝗥 𝗢𝗙 𝗔 𝗡𝗢𝗗𝗘: The diameter at a node is the sum of the heights of its left and right subtrees: 𝗱𝗶𝗮𝗺𝗲𝘁𝗲𝗿 𝗮𝘁 𝗻𝗼𝗱𝗲=𝗵𝗲𝗶𝗴𝗵𝘁(𝗻.𝗹𝗲𝗳𝘁)+𝗵𝗲𝗶𝗴𝗵𝘁(𝗻.𝗿𝗶𝗴𝗵𝘁)

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

    Her level of explanation is outstanding ❤️🌼

  • @creativitypoint7046
    @creativitypoint7046 2 года назад +4

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

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

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

  • @ayushsinha1909
    @ayushsinha1909 2 года назад +50

    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 Год назад

      @@harshsulakhe2720 pehle vid dheka kro fir gyan dia kro

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

    I have never seen a better explainer

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

    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.

  • @shivamdandekar1024
    @shivamdandekar1024 2 года назад +24

    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

  • @goprothink4517
    @goprothink4517 2 года назад +4

    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.

  • @memeistan711
    @memeistan711 2 года назад +14

    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 .

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

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

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

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

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

    Mam your teaching skill is fabulous... The way you teached us... It's really Appreciatable... Your hard works... Your skill... Your consistency.. Your taughts all are fabulous.. Really really big fan of yours..may God bless you shruddha mam....

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

    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

  • @vivekpaliwal1876
    @vivekpaliwal1876 2 года назад +7

    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

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

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

  • @avneez1631
    @avneez1631 2 года назад +33

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

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

    Please keep uploading videos regularly and finish this playlist fast

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

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

  • @ChandanKumar-xd1tg
    @ChandanKumar-xd1tg 2 года назад

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

  • @vivekprajapati1584
    @vivekprajapati1584 2 месяца назад +5

    you have missed if(idx

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

    Please update course on regular basis,
    It is very helpful

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

    I was waiting this video many time 🥰🥰

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

    Aap Explain bahut acche se karti hai

  • @soumyaramakrishnan1221
    @soumyaramakrishnan1221 2 года назад +4

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

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

    Shradha Di for You:"Ye kitni Awesome h Yar"

  • @aasiz_online7999
    @aasiz_online7999 2 года назад +13

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

  • @AbhishekChoudhary-fu2ng
    @AbhishekChoudhary-fu2ng 2 года назад

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

  • @stackoverflowed5872
    @stackoverflowed5872 2 года назад +8

    Another level of explanation 💯✅

  • @MdAfroj-ff8in
    @MdAfroj-ff8in 2 года назад

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

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

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

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

    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 😭🙏

  • @honeysharma1987
    @honeysharma1987 2 года назад +4

    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

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

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

  • @ziyan.pati9
    @ziyan.pati9 2 года назад +3

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

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

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

  • @dishatarafdar8881
    @dishatarafdar8881 2 года назад +4

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

  • @chaitanyalohar9308
    @chaitanyalohar9308 2 года назад +8

    Thanks for continuing this series...

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

    Thank you so much ma'am very helpful video 😊

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

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

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

    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

  • @NIMITXVI
    @NIMITXVI 2 года назад +4

    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 🖤

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

    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 👍🏼

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

    I love your teaching ma'am

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

    Great Teaching seems like more than 10 years experience but 2020 pass out incredible

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

      For easy learning of searching algorithm...do watch
      ruclips.net/video/qioO9aiozjk/видео.html

  • @Ahamad381
    @Ahamad381 2 года назад +18

    Mai bhi soch rha tha bhi vedio didi jald se jald banayen 🍟💕💕💕💕

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

    18:15 if you are creating a static method inside Tree class e.g buildTree(). Then it is not necessary to create an object in Main method.

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

      We cannot make objects for static classes??

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

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

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

    Thank you mam, from the bottom of my Heart.

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

    Very helpful video ! Thanks Shraddha ma'am !

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

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

  • @13-xiibsundram39
    @13-xiibsundram39 2 года назад +3

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

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

    Didi please continue this JAVA course.........❤️ From JU, Kolkata

  • @HimanshuSharma-ql4gm
    @HimanshuSharma-ql4gm 2 года назад +7

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

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

    Hello didi..your videos are really amazing. I am learning better from ur teachings... Than my university...I have a small request as soon as possible will u pls upload ADSA videos also..!! It will be very helpful for us

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

    Great work, keep it up gal :)
    But you have missed few corner cases, tell me if you want to know.

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

    Watching you isn't boring!😄

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

    Please upload videos daily and please solve more problems and mention questions 🙏🏻

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

      For easy learning of searching algorithm...do watch
      ruclips.net/video/qioO9aiozjk/видео.html

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

    Mam aap bhut great ho.....👍👍👍👌👌

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

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

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

    Your all videos are so helpful for us

  • @MuhammadUsman-kf6sm
    @MuhammadUsman-kf6sm 2 года назад +1

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

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

    I saw various courses of yours
    It's amazing, but non of them seems complete. 🥺

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

    I request you to upload the video on java + DS as fast as possible. Really helpful and easily understandable

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

      For easy learning of searching algorithm...do watch
      ruclips.net/video/qioO9aiozjk/видео.html

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

    Love the way you teach.....

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

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

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

    Pls complete this series 🔥❣️❣️❣️

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

    Perfect teaching thank you for guide in hindi especially

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

    Teaching style is good ✨🙏

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

    please finish it fastly i'm very excited!

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

    Great explanation ...🪄

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

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

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

    YA pls complete this as early as possible plssss.....🥺

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

    Mam Plz continue DSA SERIES.

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

    very informative, thankyou Shraddha

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

    Maam ,
    At 1:00:33 ,for left subtree you said that height was 2 how it came as it returns value 3

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

    The one woman that every student respects from the very bottom of their hearts !!!

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

    Hi Shraddha, I've a question here regarding 'count nodes' problem. Counting number of nodes using recursion and level order (using queue) both runs in O(n) time but then why in actual level order takes less time then recursion when submitting the problem be it leetcode, codechef or any other coding platform?
    For eg - Tree -> [1,2,3,4,5,6]
    Time with Recursion - 28 ms and time with level order - 16 ms

    • @Siddik-ko8ol
      @Siddik-ko8ol 10 месяцев назад

      In general, DFS is faster than BFS. This is because DFS only needs to keep track of the path from the root node to the current node, while BFS needs to keep track of all the nodes that have been visited. This difference in memory usage can be significant for large trees

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

    Thanks didi aapne teachers se bhi accha samjhya

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

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

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

  • @soumiksarkar7511
    @soumiksarkar7511 2 года назад +9

    Hi Shraddha,
    I have a doubt here. In IsIdentical part at 1:17:51, if subRoot is on leaf but root is not on leaf then also it should be a part of the tree right.
    Say rootNodes array in preorder sequence is { 1, 2, 4, 6, -1, -1, 7, -1, -1, 5, -1, -1 3, -1, -1} and subNodes array is {2, 4, -1, -1, 5, -1, -1}. In that case also subNode tree is valid.
    But with this if(root == null || subroot == null) return false; would eliminate this case right?
    Can you please explain this? It would be very helpful.

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

      nhi bhao degi bhai, tu gentz hain na

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

      @@archishmangupta2787 🤣🤣

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

      nice question dude, i want reason too, even leetcode don't have those kind of test cases

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

    Ma,am your class is amazing

  • @Randhirkumar-zm4wk
    @Randhirkumar-zm4wk 2 года назад +1

    Mam video continue kre...I request u🙏🙏🙏🙏🙏

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

    Didi you are my inspiration😁