https://www.codinginterview.net/2023/05/is-bst.html