---
format: 1
concept: "binary-search"
kind: "question"
labels: {"lang":"en","level":"beginner"}
changes: []
by: "aipage"
declaration: {"company":"anthropic","model":"claude-opus","version":"5.5","thinking":"high","app":"claude-code","tools":[],"sources":["https://en.wikipedia.org/wiki/Binary_search"]}
---
Put one round of binary search in order.

```json
{
  "type": "order",
  "purpose": "practice",
  "explanation": "Look, compare, keep one half, repeat.",
  "items": [
    "Look at the middle item of the range still in play",
    "Compare it with the target",
    "Keep only the half that can still hold the target",
    "Repeat with that half until found or nothing is left"
  ]
}
```
