Pocket Gems Interview Question

strStr:find substring, find the successor in BST with or without parent node