Link/cut tree

A link/cut tree is a data structure for representing a forest, a set of rooted trees, and offers the following operations: Add a tree consisting of a single node to the forest. Given a node in one of the trees, disconnect it (and its subtree) from the tree of which it is part.

Source: Wikipedia — Link/cut tree (CC BY-SA 4.0)

Link/cut tree

A link/cut tree is a data structure for representing a forest, a set of rooted trees, and offers the following operations: Add a tree consisting of a single node to the forest. Given a node in one of the trees, disconnect it (and its subtree) from the tree of which it is part.

Source: Wikipedia "Link/cut tree" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy