Binary Tree Nodes Sql Hackerrank Questions