Finger-Trees

Basic idea

A persistent functional sequence with cheap access at both ends and O(logn)O(\log n) split/concat. Generalises to many abstract structures (deques, priority queues, interval maps) via a monoidal annotation.

Key formulas

Resources

Siblings