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
On this page of the site you can watch the video online L2.1 Representation of Binary Tree | Array | Binary Tree | Data Structures & Algorithms with a duration of hours minute second in good quality, which was uploaded by the user SYSTEMwithEase 04 December 2022, share the link with friends and acquaintances, this video has already been watched 85 times on youtube and it was liked by 8 viewers. Enjoy your viewing!