This problem is bad

  • 0

    The BST defined in this problem is not what common human will do.
    The human's way is to add a second field at each node counting the number of duplicates.
    It loses all elegance of BST.

Log in to reply

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