Height of Binary Tree | Height of a Binary Tree | Binary Tree Data Structure | DSA-One Course #57

  Рет қаралды 93,357

Anuj Bhaiya

Anuj Bhaiya

Күн бұрын

Пікірлер: 77
@gwalaniarun
@gwalaniarun 3 жыл бұрын
You are a blessing to us. Never stop this series, please.
@Anashwar-p3w
@Anashwar-p3w 2 ай бұрын
by far the best explanation of this problem in whole youtube.
@630_anishabirla8
@630_anishabirla8 2 жыл бұрын
Anuj bhaiya u r love ,u have made many people's life,u r so self-less ,u r posting this world class stuff to us for free,u r not only hardworking u r selfless,u r my hero,u r such a beautiful soul who give students quality teaching for freee and here are in my college who are asking for money for everything whether its coding or internship .U r real hero !!!!!!!!!!!!!!!!!!!!!!!!!!!
@pragyanpandey662
@pragyanpandey662 2 жыл бұрын
It's really commendable that after getting a well paid job at one of the dream company, Anuj Bhaiya has still given his efforts to continue working on this series and make other videos to help u. It's very easy to get those money and enjoy life, but to work this hard even after achieving great things, it is commendable.
@abirbanerjee839
@abirbanerjee839 8 ай бұрын
THIS IS THE BEST VIDEO ON THE HEIGHT OF BINARY TREE
@aswithasai4015
@aswithasai4015 2 жыл бұрын
height is -1 for empty node i think it should be written return -1 when root is NULL.
@sasidharnaidu4507
@sasidharnaidu4507 9 ай бұрын
That's as per your problem statement.
@TheMdaliazhar
@TheMdaliazhar 5 ай бұрын
I like your visual explanation better than any other youtuber. Please make more leetcode problem videos.
@riyazsayyad4047
@riyazsayyad4047 Жыл бұрын
Recursion me phas gya tha litreally, Thanks @Anuj Bhaiys
@kartikchauhan2778
@kartikchauhan2778 2 жыл бұрын
excellent video bhaiya, call stack understood
@ramjeetkumar7212
@ramjeetkumar7212 3 жыл бұрын
You tube er best job h
@nandiniverma5273
@nandiniverma5273 2 жыл бұрын
Made soo easy to understand recursive call in this height.
@Lifeofkashh31
@Lifeofkashh31 2 жыл бұрын
bhiya litrally i am thankful to u for this playlist yaar! This is sooooo dammm good Thankyou for so much hardwork!The most humble youtuber i have ever seen in my life!
@Sagar__Raj
@Sagar__Raj 3 жыл бұрын
Nice getting boost day by day by seeing ur videos
@softmedun6794
@softmedun6794 Жыл бұрын
👉But sir single node ke lie to height 1 aa jayega jo ki galat hai , height 0 ana chahiye Isme ek or condition hona chahiye....... if(root->left ==nullptr && root->right==nullptr ){ return 0; }
@ArjunGupta-dj7ot
@ArjunGupta-dj7ot 3 жыл бұрын
Thanks for being consistent, Really like your videos
@kajalkhirodkar6521
@kajalkhirodkar6521 2 жыл бұрын
A very helpful video for understanding this concept. Thank you !!
@akshaykumar192
@akshaykumar192 2 жыл бұрын
Bhaiya aapki video mujhe jaldi samaj aati hai
@himanshusinghparmar5816
@himanshusinghparmar5816 2 жыл бұрын
Thank you and continue this series bhaiya God bless you
@hannanhub1717
@hannanhub1717 3 ай бұрын
very simple explanation
@RAMANKUMARGCEBIT
@RAMANKUMARGCEBIT 2 жыл бұрын
thank u for the video. recursive callstack explanation was very good.
@nithinthota96
@nithinthota96 28 күн бұрын
simply superb!
@abantikakarmakar1988
@abantikakarmakar1988 2 жыл бұрын
Thank you sir for your hardwork!!
@coding9.99
@coding9.99 Жыл бұрын
after i listning recursion k deep me nhi jana hota hai upar upar se kr ke nikl jana hota hai >>>>> 3
@Nitin12577
@Nitin12577 2 жыл бұрын
it was very very good explanation
@tekno864
@tekno864 3 жыл бұрын
Video is very very helpful !!!!!!!!!!!!!!!! Thanku bhaiya
@kcode4100
@kcode4100 3 жыл бұрын
great work bhai keep it up 🤩🤩
@youtubekumar8590
@youtubekumar8590 2 жыл бұрын
Thanks bhaiya
@bhushankorg5606
@bhushankorg5606 2 жыл бұрын
Thanks!! very important concept.....
@vcs649
@vcs649 Жыл бұрын
wonderful explanation
@tech_and_memes
@tech_and_memes 2 жыл бұрын
got it bhaiya also practiced it on gfg
@siddhigolatkar8558
@siddhigolatkar8558 11 ай бұрын
Thank you
@THENIKSHOW-tp5hy
@THENIKSHOW-tp5hy 2 ай бұрын
Thankyou ❤
@GahanaD
@GahanaD Ай бұрын
Awesome☺☺☺🤯🤯
@richaofficial7638
@richaofficial7638 3 жыл бұрын
Thank you Nice ❣❣
@PROGRAMMINGNERDS
@PROGRAMMINGNERDS 2 жыл бұрын
BHAIYA KYA PADATE HO YRR TUM MAJE AA GYE
@lokendrasingh9780
@lokendrasingh9780 2 жыл бұрын
thank you bhaiya 🙏❤️
@arjunkurariya2235
@arjunkurariya2235 3 жыл бұрын
1st Comment ❤️❤️. Bhaiya muje Refferal dilwa doo pls. Meine 500+ DSA q. Solve kiye h. Help me🙏🙏
@arpanmaheshwari2290
@arpanmaheshwari2290 3 жыл бұрын
Hum first!!
@bibekjoshi34
@bibekjoshi34 Жыл бұрын
thanks
@balavardhanreddy8581
@balavardhanreddy8581 Жыл бұрын
very greatful
@saritaprasad4295
@saritaprasad4295 Жыл бұрын
good one
@pushparay5554
@pushparay5554 2 жыл бұрын
Amazing❤
@vatsalyadubey641
@vatsalyadubey641 2 жыл бұрын
@NitishShuklaOfficial
@NitishShuklaOfficial 6 ай бұрын
best
@lokanathpatasahani897
@lokanathpatasahani897 3 жыл бұрын
Sir as a fresher I can apply in which positions in companies, like can I apply for jobs for freshers as well as in support Engineer role. Please 🙏 answer me. Because very few jobs are coming for freshers so can I apply for those positions in which it's asking for 1/2 years of experience if I have 1/2 good internships.
@amrish_kumar142
@amrish_kumar142 3 жыл бұрын
Iteratiive bi bta dijiye
@SwayamBhoir-p4q
@SwayamBhoir-p4q 12 күн бұрын
bhaiya, is there any algorithm to get the height of the tree without using recursion?
@akritirawat135
@akritirawat135 11 ай бұрын
Height should be 3 no of edges from the root node...
@vikasprajapati6558
@vikasprajapati6558 3 жыл бұрын
#DSAONE
@obaidurrahman7216
@obaidurrahman7216 Жыл бұрын
This code returns height is 3. Which is correct?
@basavarajhasarmani6231
@basavarajhasarmani6231 Жыл бұрын
Height and depth of only one node in tree is zero(0) not (1)
@SaurabhPatel-w9b
@SaurabhPatel-w9b 6 ай бұрын
Both are correct as per different books
@emanniaz7980
@emanniaz7980 6 ай бұрын
Because he started indexing from 1 not 0 in most languages we start from 0 but in general we can use either 1 or 0
@lokeshwarprasad9614
@lokeshwarprasad9614 3 жыл бұрын
First ❤️❤️❤️
@deepikatripathi9269
@deepikatripathi9269 2 жыл бұрын
Excuse me sir, what will be the height of the binary tree "if the root of the tree is 0" is mentioned?
@Gamer-uz7dl
@Gamer-uz7dl 2 жыл бұрын
Just change return 0 to return -1
@RN-jo8zt
@RN-jo8zt 9 ай бұрын
how come there are two defination for height of tree?
@abhijitchakraborty6035
@abhijitchakraborty6035 2 жыл бұрын
Hi Anuj bhaiya, I guess the height of tree should be 3 not 4 because the height is given by the sum no. of edges in the binary tree. Please correct me if I am wrong.
@dekhbhai9328
@dekhbhai9328 2 жыл бұрын
yes you are correct.
@Prakashvishwakarma1
@Prakashvishwakarma1 3 жыл бұрын
Sir I'm BCA graduate and reactJS ki job mil rahi hi 5 hajar salary hi should I do job Or MCA?
@10daysAgo
@10daysAgo 2 жыл бұрын
Bhai sirf 5 hazar ? Itna to tumhe ese hi koi pathology lab ke accounts department mein job se mil jayega . Infact atleast 12-15k to milenge hi . Lekin agar karna hi hai to experience ke liye karo 👍
@shiv_all_in_1
@shiv_all_in_1 2 жыл бұрын
Bhai iss playlist ko jaldi khatam kro, waiting for Graph videos
@awesome-kl9ci
@awesome-kl9ci 3 жыл бұрын
Bhaiya aage ki video kB nikalo gay
@mahadishakkhor123
@mahadishakkhor123 2 жыл бұрын
very helpful
@dhananjaysingh3675
@dhananjaysingh3675 2 жыл бұрын
👌👌🙏
@himanshusharma9239
@himanshusharma9239 3 жыл бұрын
hi
@dekhbhai9328
@dekhbhai9328 2 жыл бұрын
height 3 hai
@sumitkumar-rj6ht
@sumitkumar-rj6ht 6 ай бұрын
Start 0 to n ?
@praveenvasu6960
@praveenvasu6960 3 жыл бұрын
Bhai
@himanshusharma9239
@himanshusharma9239 3 жыл бұрын
yo
@DhruvSharma-wb4li
@DhruvSharma-wb4li 2 жыл бұрын
iski height 3nhi hogi kya?
@dekhbhai9328
@dekhbhai9328 2 жыл бұрын
3 hogi bhai
@tarunkotla1856
@tarunkotla1856 11 ай бұрын
amazing explanation
@Akash-dd6ev
@Akash-dd6ev Жыл бұрын
Thank you bhaiyya
@adilhassan2093
@adilhassan2093 Жыл бұрын
Thank you bhaiya
@sujitojha6071
@sujitojha6071 8 ай бұрын
thank you so much guru
Binary Tree in Data Structures | All about Binary Tree | DSA Course
1:22:13
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 22 МЛН
10.1 AVL Tree - Insertion and Rotations
43:08
Abdul Bari
Рет қаралды 1,2 МЛН
5.10 Binary Search Trees (BST) - Insertion and Deletion | DSA Full Course
16:41
Jenny's Lectures CS IT
Рет қаралды 1,5 МЛН
Deletion in a Binary Search Tree
22:42
CodeWithHarry
Рет қаралды 198 М.