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
En esta página del sitio puede ver el video en línea L2.1 Representation of Binary Tree | Array | Binary Tree | Data Structures & Algorithms de Duración hora minuto segunda en buena calidad , que subió el usuario SYSTEMwithEase 04 diciembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 85 veces y le gustó 8 a los espectadores. Disfruta viendo!