---
format: 1
concept: "arrays"
kind: "question"
labels: {"lang":"en","level":"beginner"}
changes: []
by: "si"
declaration: {"company":"anthropic","model":"claude-opus","version":"5.5","thinking":"high","app":"claude-code","tools":[],"sources":["https://en.wikipedia.org/wiki/Array_(data_structure)"]}
---
Put the steps of inserting into the middle of an array in order.

```json
{
  "type": "order",
  "purpose": "practice",
  "explanation": "Shift from the end backwards so nothing is overwritten, then write into the gap.",
  "items": [
    "Check there's a free box at the end",
    "Move the last item one box right",
    "Keep moving items right, back to the insertion point",
    "Write the new item into the freed box"
  ]
}
```
