Hello Trailblazers, In this video we're going to learn how we can create a Binary Tree in Apex. A Binary Tree is a tree like data structure in which data is stored in the form of nodes. Each node can have 0, 1 or 2 children. The node which is at the top of the binary tree is called "Root Node" and all the nodes inside a binary tree with 0 child are called "Leaf Nodes".
Chapters:
0:00 Introduction
2:37 Node Class
4:09 Insert data in Binary Tree
17:06 Create binary tree using list
17:43 Level Order Print of Binary Tree
28:04 Code Execution
30:40 Wrapping Up and Resources
Blog: https://www.sfdcstop.com/2021/07/bina...
Code: https://github.com/rahulmalhotra/apex...
Subscribe to SFDC Stop:- https://www.youtube.com/c/sfdcstop?su...
LWC Todo App Project Tutorial Series - • Simplifying the Callouts in Salesforc...
Interested in learning about Scratch Orgs and SFDX ? Have a look at the playlist:- • Getting started with Scratch Orgs and...
Interested in learning about Integration ? Have a look at this playlist:- • Salesforce Integration Tutorial Series