Check if a tree is binary search tree or not | Hacker News Reader