Be an avl tree with 20 nodes with values from 1 to 20. What are the possible values for the root node. ? I was thinking to find minimum and maximum height but I don't know what to do after that. Does anybody have an idea?
UPDATE: THe problem is to find the possibles values for root nodes. I have to respond to the following questions:
Can 1 value be the values of root node?
Can 2 value be the values of root node?
...
Can 20 value be the values of root node?