Structural Identical(binary tree)

Can you pls explain the input format of the question

We take input in preorder format ie., Node-Left-Right.
10 true 20 true 40 false false true 50 false false true 30 true 60 false false true 73 false false
In this input, 10 is the root of the tree. true implies that left child exists and it is 20. It is preorder format, so now next value will be lest child of 20. Its true and left child of 20 is 40. Next value is false, so 40 does not have a left child. It also does not have a right child as the next value is also false. And so on.
Tell me if you are able to understand it.

yes, got it, thanks a lot, was a bit confused about true and false, now it is clear

in this question do we only have to find if the structure is same or the data also?

Only the structure. Don’t compare the data values.