DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Building a Red-Black Binary Tree in Python

3 years ago blog.boot.dev
Building a Red-Black Binary Tree in Python

Summary: This is a summary of an article originally published by the source. Read the full original article here →

A red-black tree is a kind of self-balancing binary search tree. Each node stores an extra bit, which we will call the color, red or black. The color ensures that the tree remains approximately balanced during insertions and deletions.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com