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

Publié le: 04 décembre 2022
sur la chaîne: 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  


Sur cette page du site, vous pouvez voir la vidéo en ligne L2.1 Representation of Binary Tree | Array | Binary Tree | Data Structures & Algorithms durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SYSTEMwithEase 04 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 85 fois et il a aimé 8 téléspectateurs. Bon visionnage!