Link/cut tree
id:
link-cut-tree-199-4843962
title:
Link/cut tree
text:
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.
Attach a node to another node as its child.
Given a node, find the root of the tree to which it belongs. By doing this operation on two distinct nodes, one can check whether they belong to the same tree. The represented f
brand slug:
wiki
category slug:
encyclopedia
description:
original url:
https://en.wikipedia.org/wiki/Link/cut_tree
date created:
date modified:
2023-05-19T23:40:32Z
main entity:
{"identifier":"Q6554218","url":"https://www.wikidata.org/entity/Q6554218"}
image:
fields total:
13
integrity:
13