This function mainly initializes index of root and calls buildUtil ( )
def buildTree ( In , post , n ) : NEW_LINE INDENT pIndex = [ n - 1 ] NEW_LINE return buildUtil ( In , post , 0 , n - 1 , pIndex ) NEW_LINE DEDENT