Top "Red-black-tree" questions

A red-black tree is a type of self-balancing binary search tree, a data structure used in computing science, typically used to implement associative arrays.

Using STL's Internal Implementation of Red-Black Tree

I understand that my STL (that comes with g++ 4.x.x) uses red-black trees to implement containers such as the …

c++ stl tree red-black-tree
Red-Black Trees

I've seen binary trees and binary searching mentioned in several books I've read lately, but as I'm still at the …

algorithm binary-tree red-black-tree
Is a tree with all black nodes a red black tree?

It seems the definition on wiki is not precise: http://en.wikipedia.org/wiki/Red-black_tree#Properties Is a tree …

data-structures red-black-tree
Converting a 2-3-4 tree into a red black tree

I'm trying to convert a 2-3-4 Tree into a Red-Black tree in java, but am having trouble figuring it …

java tree red-black-tree 2-3-4-tree
Red Black Tree implementation in C

I have implemented Insertion part of Red black tree in C. However, I am not getting any output when I …

c pointers binary-search-tree red-black-tree
Hash tables v self-balancing search trees

I am curious to know what is the reasoning that could overweighs towards using a self-balancing tree technique to store …

hashtable red-black-tree
Using red black trees for sorting

The worst-case running time of insertion on a red-black tree is O(lg n) and if I perform a in-order …

algorithm sorting quicksort red-black-tree
Why red-black tree based implementation for java TreeMap?

The third paragraph of wikipedia's article on AVL trees says: "Because AVL trees are more rigidly balanced, they are faster …

java algorithm binary-search-tree avl-tree red-black-tree
Why null key is not allowed in TreeMap?

I am trying to understand the concept behind Java Collection framework and came along to this question - Why null …

java collections red-black-tree
Concatenating red-black trees

The OCaml standard library has a wonderful Set implementation that uses a very efficient divide-and-conquer algorithm to compute the union …

algorithm data-structures red-black-tree