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
Nesta página do site você pode assistir ao vídeo on-line L2.1 Representation of Binary Tree | Array | Binary Tree | Data Structures & Algorithms duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário SYSTEMwithEase 04 Dezembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 85 vezes e gostou 8 espectadores. Boa visualização!