The successor search method of the van Emde Boas tree.
The key the next greater neighbor of which is looked for.
Ditto. If the next greater neighbor is missing a number out of bounds of the tree is returned.
See Implementation
The successor search method of the van Emde Boas tree.