Тёмный
No video :(

HackerRank - Height of a Binary Tree | Full solution with code and animations | Study Algorithms 

Nikhil Lohia
Подписаться 45 тыс.
Просмотров 3,5 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@bittujacob8776
@bittujacob8776 2 года назад
Yes true, very underrated channel! Come on RU-vid!
@Ayush-yk6zf
@Ayush-yk6zf 2 года назад
Really a underrated channel. Great explanation.Thank you sir
@Sana-oi6mw
@Sana-oi6mw Год назад
Good explanation sir jii
@nikoo28
@nikoo28 Год назад
you are welcome!!
@mashapoguajay3322
@mashapoguajay3322 2 года назад
What is an ootimized soln
@nikoo28
@nikoo28 2 года назад
An optimized solution is one which will consume the minimum memory and time possible to determine the answer
@mashapoguajay3322
@mashapoguajay3322 2 года назад
@@nikoo28 bro during online coding interview s we have to write only optimization solution
@nikoo28
@nikoo28 2 года назад
That's correct. If you check the link in description to my github profile, you can find the optimized solution. The video also covers the optimized approach.
@mashapoguajay3322
@mashapoguajay3322 2 года назад
Bro by using max(lh,rh) recursive approch and adding 1 we can get max deapth no
@nikoo28
@nikoo28 2 года назад
Yes, but even then you take up the memory space in your recursion stack.
Далее
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 667 тыс.
СЛАДКОЕЖКИ ПОЙМУТ😁@andrey.grechka
00:11
Height of a Binary Tree
10:51
Просмотров 159 тыс.
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41