Checks if an element exists in the splay tree
This is a convenience function that searches for an element and returns just a boolean indicating whether it was found. Like search(), it also splays the accessed node to the root.
the value to check for
the tree to search in
result containing:
Checks if an element exists in the splay tree
This is a convenience function that searches for an element and returns just a boolean indicating whether it was found. Like search(), it also splays the accessed node to the root.