Yah 2212 is a corect ans ...
1100+10+1100+1*2 = 2212
wait i draw this in my copy and take a pic of that and upload in it.
The SDT will be similar to this:
According to this tree, the answer will be 12102
correct ans is 2212
Thanku..bt we have to traverse the tree in depth first left to right know...and after getting the entire output expression we will evaluate it
i got 12102
The answer should be 12102
as it is E->T out (10*)
this 10* will get be clubbed with 1100 to give 11000
1100+11000+2 = 12102.