Dailyhunt Interview Question

implement isBST()