L1. Introduction | Binary Tree | Data Structures & Algorithms

Publié le: 07 novembre 2022
sur la chaîne: SYSTEMwithEase
616
89

00:00 Introduction to the Binary Tree
00:53 Terminologies (Root, Parent, Children, Leaf, Ancestor, SubTree)
03:38 Types of Binary Tree
03:57 Full Binary Tree
05:06 Complete Binary Tree
07:06 Perfect Binary Tree
08:24 Balanced Binary Tree
11:15 Degenerate Binary Tree

Binary Tree : A tree whose elements have at most 2 children is called a binary tree. Since each element in a binary tree can have only 2 children, we typically name them the left and right child.

Binary Tree Representation : A tree is represented by a pointer to the topmost node of the tree. If the tree is empty, then the value of the root is NULL.
A Tree node contains the following parts.

1. Data
2. Pointer to the left child
3. Pointer to the right child

Real Life Example : File system in computers

USER
/ \
. . . Home
/ \
DSA System Design
/ / | \
. . . L1 L2 L3

In this playlist we will deep dive in concepts of binary tree and try to solve problems in recursive as well as iterative ways using JAVA.

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

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

Please do like, comment, subscribe and share :)

#algorithm #dsa #binarytree #recursion #java #coding
@SystemWithEase

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 L1. Introduction | Binary Tree | Data Structures & Algorithms durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SYSTEMwithEase 07 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 616 fois et il a aimé 89 téléspectateurs. Bon visionnage!