String Pattern
Check BST