I am learning data structures and algorithms. In particular, I am learning Binary Search Trees (BSTs).
My question, as the title hints, is, if we are placing a value, and it is equal to its parent, which side do we place it? The left side is for values lesser than the parent, and the right side is for values greater than the parent. So, where do we place a value equal to the parent?
Thanks for any help on this.