L2.1 Representation of Binary Tree | Array | Binary Tree | Data Structures & Algorithms

Опубликовано: 04 Декабрь 2022
на канале: SYSTEMwithEase
85
8

00:00 Types of Binary tree representation (using Pointers or Array)
00:17 Array representation of Binary tree
01:08 Deducing the generalised equation to find left and right child
04:00 Generalised equation to find left and right child

If parent node is at ith index
then leftChild=(2*i)+1;
and rightChild=(2*i)+2;

----------------------------------------------------------------------------------------------------------------------------------------------------Playlists

Data Structure & Algorithm | Binary Tree :    • Data Structure & Algorithm | Binary Tree  

Data Structure & Algorithm | Array :    • Data Structure & Algorithm | Array  

Data Structure & Algorithm | Heap :    • Data Structure & Algorithm | Heap  
---------------------------------------------------------------------------------------------------------------------------------------------------- Watch video in 1.25x for better experience..

Please do like, comment, subscribe and share :)

#dsa #binarytree #algorithm #interview #placements #productbased #java #pointers

Mentor : Vijay Dhakad
LinkedIn -   / vijay-dhakad-476377169  
Instagram -   / dhakad_vj  
Facebook -   / vijay.dhakad.7773  


На этой странице сайта вы можете посмотреть видео онлайн L2.1 Representation of Binary Tree | Array | Binary Tree | Data Structures & Algorithms длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь SYSTEMwithEase 04 Декабрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 85 раз и оно понравилось 8 зрителям. Приятного просмотра!