So, making an example, if you have N = 5, and you want insert, in order A, B, C, D, E Your array what should contain? And if you then insert F?
last N orderwhat should happen to first inserted order when you insert the N+1th order?