Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Building a Binary Search Tree - Insertion Tutorial
3 Views • Apr 12, 2026
Description
We discuss why the tree becomes lopsided, calculate its height, and verify the in-order traversal is sorted. Great practice for anyone learning binary search trees.
Next videos will cover searching and deleting nodes.
If you're studying data structures, build along with me!
00:00 Introduction to Building a Binary Search Tree
00:14 Plan for Inserting Numbers
00:30 First Node Becomes Root
02:26 Begin inserting from data set
12:29 Final insertion from data set
13:26 Final Tree Overview
13:29 Tree is Lopsided
14:00 Drawing Depths and Levels
14:50 Calculating Tree Height
15:08 Verifying Sorted Order
16:00 Confirming BST Properties
16:48 Time Complexity and Height
18:59 No Self-Balancing
19:07 End of Video and Thanks
binary search tree, BST insertion, build binary search tree, binary search tree tutorial, data structures, BST from scratch, insert into binary search tree, binary tree insertion, computer science tutorial, algorithms, BST height, BST depth, in order traversal, binary search tree example, data structures and algorithms
=-=-=-=-=-=-=-=-=
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
- Twitter / X: https://x.com/NeuralLantern
- Rumble: https://rumble.com/c/c-3696939
- BitChute: https://www.bitchute.com/channel/pg1Pvv5dN4Gt
- Daily Motion: https://www.dailymotion.com/neurallantern
- Minds: https://www.minds.com/neurallantern/
- Odysee: https://odysee.com/@NeuralLantern:5
Please show your support!
- Buy me a coffee: https://ko-fi.com/neurallantern
- Subscribe + Sharing on Social Media
- Leave a comment or suggestion
- Subscribe to the Blog: https://www.NeuralLantern.com
- Watch the main "pinned" video of this channel for offers and extras
More from User
AVL Trees: Adding Linear Data and Performing Rotations
Neural Lantern
AVL Tree Rotations Practice: Balancing a Huge Linear Tree Step by Step
Neural Lantern
How to Perform AVL Tree Rotations - Step By Step Example
Neural Lantern
AVL Tree Rotations Tutorial: Fixing Imbalance After Adding a Node
Neural Lantern
AVL Tree Rotation Types Explained for Self-Balancing Binary Search Trees
Neural Lantern
AVL Tree Tutorial: Balance Factors and Why They Fix Slow BSTs
Neural Lantern
Related Videos
Binary Search Tree Insertion Tutorial: Building a BST from Scratch Step by Step
Neural Lantern
Binary Tree and Binary Search Tree (generalized)
RandomGuy0
AVL Tree Rotation Types Explained for Self-Balancing Binary Search Trees
Neural Lantern
How to Search in a Binary Search Tree (BST) - Step by Step Explanation with Examples
Neural Lantern
Binary Search Tree and AVL Tree
takdirstis
Data structures: Binary Search Tree
Mara Dietz