This is a treap implementation for fast searching if a string is present or not.