Meaning of one to one relationship


  • 3
    V

    The null node needs to be represented by empty parenthesis pair "()". And you need to omit all the empty parenthesis pairs that don't affect the one-to-one mapping relationship between the string and the original binary tree . Can some one explain the meaning of one to one relationship ? I couldn't understand the concepts even after reading the example given in the question.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.