Returns tree if given array of size n can represent a BST of n levels .
def canRepresentNLevelBST ( arr , n ) : NEW_LINE INDENT root = createNLevelTree ( arr , n ) NEW_LINE return isBST ( root , 0 , 2 ** 32 ) NEW_LINE DEDENT