Tag

Binary Search Tree

0 views collected around this technical thread.

Java Captain
Java Captain
Feb 4, 2024 · Fundamentals

Implementing an AVL Self-Balancing Binary Search Tree in Java

This article explains the concept of AVL self‑balancing binary search trees, outlines their height‑balancing property, and provides step‑by‑step Java code examples defining a Node class implementing Comparable and an AVLTree class with height, balance factor calculations, and rotation methods for insertion and deletion.

AVL TreeBinary Search TreeData Structures
0 likes · 4 min read
Implementing an AVL Self-Balancing Binary Search Tree in Java
IT Services Circle
IT Services Circle
Mar 8, 2022 · Databases

Understanding Indexes: From Binary Search Trees to B+ Trees in InnoDB

This article explains how database indexes work by first reviewing binary search trees, then introducing N‑ary trees and B+ trees, illustrating their structure, storage calculations, and search process in InnoDB to show why B+ trees are used for efficient indexing.

B+TreeBinary Search TreeIndexes
0 likes · 7 min read
Understanding Indexes: From Binary Search Trees to B+ Trees in InnoDB
Top Architect
Top Architect
Mar 22, 2021 · Fundamentals

Understanding Red‑Black Trees and Related Balanced Tree Structures

This article explains the concepts, properties, and operations of binary trees, binary search trees, AVL trees, 2‑3 and 2‑3‑4 trees, B‑trees, and especially red‑black trees, illustrating how they maintain balance through rotations and why they are widely used in ordered data storage.

AlgorithmsBalanced TreesBinary Search Tree
0 likes · 12 min read
Understanding Red‑Black Trees and Related Balanced Tree Structures
Code Ape Tech Column
Code Ape Tech Column
Mar 16, 2021 · Fundamentals

Understanding Red-Black Trees and Related Balanced Binary Search Trees

This article introduces binary trees, binary search trees, and various self‑balancing trees such as AVL, 2‑3, 2‑3‑4, B‑trees, and explains the structure, properties, rotations, and common applications of red‑black trees in a clear, illustrated manner.

AlgorithmsBalanced TreeBinary Search Tree
0 likes · 12 min read
Understanding Red-Black Trees and Related Balanced Binary Search Trees
Architecture Digest
Architecture Digest
Oct 10, 2020 · Fundamentals

Understanding Binary Trees, BSTs, AVL, 2‑3‑4, B‑Tree and Red‑Black Tree

This article explains the concepts, properties, and operations of binary trees, binary search trees, AVL trees, 2‑3 and 2‑3‑4 trees, B‑trees, and red‑black trees, illustrating how they maintain balance, avoid degeneration, and are applied in modern software systems.

AVL TreeB+TreeBalanced Tree
0 likes · 10 min read
Understanding Binary Trees, BSTs, AVL, 2‑3‑4, B‑Tree and Red‑Black Tree
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2020 · Fundamentals

Binary Search Tree (BST) Overview, Implementation, and Traversal in C

This article introduces the concept of trees and binary search trees, defines a C struct for tree nodes, and provides complete implementations for creating nodes, inserting, deleting, searching, finding min/max, computing size and height, as well as recursive and non‑recursive traversals including pre‑order, in‑order, post‑order and level‑order.

AlgorithmBinary Search TreeC++
0 likes · 13 min read
Binary Search Tree (BST) Overview, Implementation, and Traversal in C
政采云技术
政采云技术
Dec 22, 2019 · Fundamentals

A Beginner-Friendly Illustrated Guide to Red-Black Trees (Part 1)

This article provides a clear, illustrated introduction to red‑black trees, covering their definition, fundamental properties, binary search tree background, traversal methods, rotation and recoloring techniques, and detailed insertion scenarios with JavaScript code examples, preparing readers for further study of deletions.

AlgorithmsBinary Search TreeData Structures
0 likes · 19 min read
A Beginner-Friendly Illustrated Guide to Red-Black Trees (Part 1)
Java Captain
Java Captain
Aug 27, 2019 · Fundamentals

Understanding Red-Black Trees: Concepts, Operations, and Insertion Examples

This article explains the fundamentals of red‑black trees, a self‑balancing binary search tree, covering their properties, recolor and rotation operations, step‑by‑step insertion cases, and practical questions such as Java 8 HashMap usage and deletion rules.

AlgorithmsBinary Search TreeData Structures
0 likes · 8 min read
Understanding Red-Black Trees: Concepts, Operations, and Insertion Examples
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 22, 2019 · Fundamentals

Understanding Red-Black Trees: Properties, Insertion Cases, and Rotations

This article explains the balanced binary search tree known as a red‑black tree, detailing its five defining properties, illustrating insertion examples that maintain balance, and describing left and right rotation operations with visual aids to help readers grasp the underlying algorithms.

AlgorithmsBinary Search TreeData Structure
0 likes · 4 min read
Understanding Red-Black Trees: Properties, Insertion Cases, and Rotations
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 5, 2019 · Fundamentals

Understanding ngx_rbtree_t Red‑Black Tree in Nginx: Theory, Properties, and Implementation

This article explains the fundamentals of the ngx_rbtree_t red‑black tree used in Nginx, covering its origin from 2‑3 trees, core properties, insertion and deletion algorithms, rotation and recoloring operations, and provides source‑code analysis with illustrative diagrams.

AlgorithmsBinary Search TreeData Structures
0 likes · 16 min read
Understanding ngx_rbtree_t Red‑Black Tree in Nginx: Theory, Properties, and Implementation