Blooming tree

See also

Implementation examples: