Does BST contain duplicate elements?

  • 0

    I find lots of solutions here using preorder and inorder to do the serialize and deserialize. But what if the BST contains duplicate elements? Any one can clarify the question?

Log in to reply

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