Skip to content

Repository files navigation

next-node-on-path

C++ implementation of a data structure for computing next-node-on-path queries between two nodes in an n-ary tree.

The queries run in O(1) time, after O(n) time and space preprocessing of the tree.

About

C++ implementation of a data structure for computing O(1)-time next-node-on-path queries between two nodes in an n-ary tree (after O(n) time and space preprocessing of the tree.)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages