Please explain the input format for construction of tree

Please explain the input format given for the construction of tree

Here, true means you have a child…and false means having no child…
10 true 20 true 40 false false true 50 false false true 30 true 60 false false true 73 false false

So here 10 will be root node… True after that means that it is a left child whose value is 20… then again true means that 20 has a left child as 40… false means that 40 doesnt have left as well as right child… then true after that means that 50 is a right child of 20… then false after that means that it doesnt have left as well as right child…

This is how the input actually means…