• + 1 comment

    Agree the problem explanation is bad, had to google it. Basically we can think of it as root is at 0 on the x axis then the left child is at -1 and right child is at 1. If a node is at the same place on the x axis and there is another node higher up the tree/ closer to the root, it is blocked.