https://www.codinginterview.net/2023/06/basic-binary-tree.html