Question DSA-SORT-0027
EasyInsertion sort is applied to [3, 1, 2]. What does the array look like after the second element has been inserted?
- A.
[3, 1, 2]
- B.
[2, 1, 3]
- C.
[1, 2, 3]
- D.
[1, 3, 2]
Sign up free to see the answer and a step-by-step explanation.