find_parent |
Defined in
<forest.hpp> |
Get the parent node of a child node
Parameters
The time complexity for this operation is $O(N)$, where $N$ is the number of child nodes of the parent.