Enter the values of all the nodes in the binary tree in pre-order format where true suggest the node exists and false suggests it is NULL
how to take this type of input e.g
10 true 20 true 40 false false true 50 false false true 30 true 60 false false true 73 false false