Question DSA-BST-0005
EasyInserting the values 1, 2, 3, 4, 5 in this order into an empty BST produces what shape?
- A.
A right-skewed chain
- B.
A left-skewed chain
- C.
Show answer and explanation
Answer: A
Each new value is larger than all before it, so it always goes to the right.