Trees (data structures) | Binary trees

Self-balancing binary search tree

In computer science, a self-balancing binary search tree (BST) is any node-based binary search tree that automatically keeps its height (maximal number of levels below the root) small in the face of arbitrary item insertions and deletions.These operations when designed for a self-balancing binary search tree, contain precautionary measures against boundlessly increasing tree height, so that these abstract data structures receive the attribute "self-balancing". For height-balanced binary trees, the height is defined to be logarithmic in the number of items. This is the case for many binary search trees, such as AVL trees and red–black trees. Splay trees and treaps are self-balancing but not height-balanced, as their height is not guaranteed to be logarithmic in the number of items. Self-balancing binary search trees provide efficient implementations for mutable ordered lists, and can be used for other abstract data structures such as associative arrays, priority queues and sets. (Wikipedia).

Self-balancing binary search tree
Video thumbnail

Check if a binary tree is binary search tree or not

See complete series on data structures here: http://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P In this lesson, we have written a program in C/C++ to verify whether a given binary tree is binary search tree or not. For practice problems and more, visit: http://www.m

From playlist Data structures

Video thumbnail

Data structures: Binary Search Tree

See complete series on data structures here: http://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P In this lesson, we have discussed binary search tree data structure. Binary search is an efficient data structure in which we can store data to get search, insertion and de

From playlist Data structures

Video thumbnail

Data structures: Binary Tree

See complete series on data structures here: http://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P In this lesson, we have discussed binary tree in detail. We have talked about different types of binary tree like "complete binary tree", "perfect binary tree" and "balance

From playlist Data structures

Video thumbnail

Find min and max element in a binary search tree

See complete series on data structures here: http://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P In this lesson, we have written a program to find minimum or maximum element in a "binary search tree" data structure. We have written two solutions - iterative and recursi

From playlist Data structures

Video thumbnail

Binary Tree 1. Constructing a tree (algorithm and pseudocode)

This is the first in a series of videos about binary trees. It is an explanation of the dynamic data structure known as the Binary Tree. It describes the way in which a binary tree is constructed, and how it can be represented numerically using a system of left and right pointers. This v

From playlist Data Structures

Video thumbnail

Binary tree traversal - breadth-first and depth-first strategies

See complete series on data structures here: http://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P In this lesson, we have discussed algorithms for binary tree traversal. We have talked about breadth-first and depth-first strategies for tree traversal like level-order, p

From playlist Data structures

Video thumbnail

C# Trees and Graphs Explained | Data Structures and Algorithms in C# | C# Tutorial | Simplilearn

🔥Post Graduate Program In Full Stack Web Development: https://www.simplilearn.com/pgp-full-stack-web-development-certification-training-course?utm_campaign=CSharpTreesAndGraphsExplained-IqQ7QpmiBJ0&utm_medium=DescriptionFF&utm_source=youtube 🔥Caltech Coding Bootcamp (US Only): https://www.

From playlist C# Training 🔥[2022 Updated]

Video thumbnail

Balanced binary search tree rotations

Learn about balanced binary search tree rotations Practicing for interviews? I have used, and recommend `Cracking the Coding Interview` which got me a job at Google. Link on Amazon: https://amzn.to/3cvMof5 A lot of the content on this channel is inspired by the book `Competitive Programm

From playlist Data structures playlist

Video thumbnail

Data Structures Easy to Advanced Course - Full Tutorial from a Google Engineer

Learn and master the most common data structures in this full course from Google engineer William Fiset. This course teaches data structures to beginners using high quality animations to represent the data structures visually. You will learn how to code various data structures together wi

From playlist Java Tutorials

Video thumbnail

Trees In Data Structure | Introduction To Trees | Data Structures & Algorithms Tutorial |Simplilearn

This video is based on the topic Trees in Data Structure. This video is dedicated to providing the complete Introduction to Trees and its terminologies in real-time. This Data Structures and Algorithms Tutorial is dedicated to helping beginners. Hence, the video includes a practical demo f

From playlist Data Structures & Algorithms [2022 Updated]

Video thumbnail

🔥Data Structures and Algorithms Full Course 2 | Data Structures Tutorial in C and C++ | Simplilearn

🔥Explore our FREE Courses with Completion Certificates: https://www.simplilearn.com/skillup-free-online-courses?utm_campaign=DataStructures2FCSEP23&utm_medium=DescriptionFirstFold&utm_source=youtube This video on Data Structures and Algorithms Full Course Part - 2 will help you learn ever

From playlist Simplilearn Live

Video thumbnail

🔥Software Development Course Day 2 | Data Structures & Algorithms | Software Developer |Simplilearn

🔥Post Graduate Program In Full Stack Web Development: https://www.simplilearn.com/pgp-full-stack-web-development-certification-training-course?utm_campaign=SoftDevCourse28March2023&utm_medium=DescriptionFirstFold&utm_source=youtube 🔥Caltech Coding Bootcamp (US Only): https://www.simplilear

From playlist Simplilearn Live

Video thumbnail

Software Development Course Day - 2 | Data Structures & Algorithms | Software Developer |Simplilearn

🔥Explore our FREE Courses with Completion Certificates: https://www.simplilearn.com/skillup-free-online-courses?utm_campaign=SoftDevCourseOct12&utm_medium=DescriptionFirstFold&utm_source=youtube This software development course is a series of live sessions where we will understand in-depth

From playlist Simplilearn Live

Video thumbnail

Binary Search Tree Insertion

Related Videos: Binary search tree intro: https://youtu.be/JfSdGQdAzq8 Binary search tree insertions: https://youtu.be/LwpLXm3eb6A Binary search tree removals: https://youtu.be/8K7EO7s_iFE Binary search tree traversals: https://youtu.be/k7GkEbECZK0 Binary search tree code: https://youtu.be

From playlist Data structures playlist

Video thumbnail

Recitation 5: Recursion Trees, Binary Search Trees

MIT 6.006 Introduction to Algorithms, Fall 2011 View the complete course: http://ocw.mit.edu/6-006F11 Instructor: Victor Costan License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.006 Introduction to Algorithms, Fall 2011

Video thumbnail

Binary Search Tree Traversals

Related Videos: Binary search tree intro: https://youtu.be/JfSdGQdAzq8 Binary search tree insertions: https://youtu.be/LwpLXm3eb6A Binary search tree removals: https://youtu.be/8K7EO7s_iFE Binary search tree traversals: https://youtu.be/k7GkEbECZK0 Binary search tree code: https://youtu.be

From playlist Data structures playlist

Video thumbnail

🔥Data Structures and Algorithms Tutorial in C & C++ | Data Structures Full Course 2022 | Simplilearn

🔥Explore our FREE Courses with Completion Certificates: https://www.simplilearn.com/skillup-free-online-courses?utm_campaign=DataStructuresFCDec15&utm_medium=DescriptionFirstFold&utm_source=youtube This video on Data Structures and Algorithms Full Course will help you learn everything the

From playlist Simplilearn Live

Related pages

Randomized algorithm | Set (abstract data type) | Day–Stout–Warren algorithm | Logarithm | Skip list | Merge sort | Floor and ceiling functions | Big O notation | Heapsort | Geometric series | Weight-balanced tree | Node (computer science) | Associative array | Priority queue | Binary search tree | Abstract data type | Hash table | Point location | Quicksort | Sorting | Online algorithm | AA tree | Fusion tree | Tango tree | 2–3 tree | Treap | Splay tree | AVL tree | Scapegoat tree | Computational geometry | Red–black tree | Amortized analysis | Tree rotation | B-tree