You are given a tree.
It has following properties:
a) its a full binary tree
b) elements in tree follow arithmetic progression if traversed in BFS
c) value at the root node is always 1.
Search for node in the tree. Approach should be better than O(N)