BST Sherlock and The Beast from HackerRank.