minimal in sorted and rotated + missin number in n-1 array(no duplicates) + is tree is BST(inorder with static prev)