此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。
Building a Binary Search Tree - Insertion Tutorial
描述
In this hands-on video we build a binary search tree by inserting numbers one by one: 73, 98, 12, 45, 67, 10, 43, 11, 99, and 32. Watch exactly how each node finds its place following BST rules with no rearranging allowed.
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
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
相关视频
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
来自同一上传者
AVL Trees: Adding Linear Data and Performing Rotations
2 次观看
AVL Tree Rotations Practice: Balancing a Huge Linear Tree Step by Step
1 次观看
How to Perform AVL Tree Rotations - Step By Step Example
6 次观看
AVL Tree Rotations Tutorial: Fixing Imbalance After Adding a Node
5 次观看
AVL Tree Rotation Types Explained for Self-Balancing Binary Search Trees
4 次观看
AVL Tree Tutorial: Balance Factors and Why They Fix Slow BSTs
4 次观看