store storeInorder traversal in auxiliary array
def storeInorder ( ptr , vect ) : NEW_LINE INDENT if ptr == None : NEW_LINE INDENT return NEW_LINE DEDENT storeInorder ( ptr . left , vect ) NEW_LINE vect . append ( ptr . data ) NEW_LINE storeInorder ( ptr . right , vect ) NEW_LINE DEDENT