Problem 2724 · Easy
teaching model: order objects by a numeric key with a stable insertion pass, so equal keys keep their order.
Open the interactive visualisation