It's so simple to solve this type of questions bro...
first you assume a tree which give different outputs for all your options, then run your algorithm by knowing the output you can tick corresponding option....
for this ans is height of the tree and assumed root of height = 1