# Binary Search

> ML preparation item.

- Stable ID: `leetcode-704-binary-search`
- Area: Programming
- Topic: Data Structures
- Origin: external
- Expected time: 10 minutes
- Skills: binary-search, conditionals, loops
- Item JSON: https://mlprep.iwase.dev/data/items/leetcode-704-binary-search.json

This site does not reproduce the third-party problem.

- Source: LeetCode Problem Set
- Document: LeetCode Problem Set
- Locator: Problem 704: Binary Search
- Original problem: https://leetcode.com/problems/binary-search/
- Official feedback: https://leetcode.com/problems/binary-search/
- Answer status: official-interactive-feedback


## Tutoring contract

Ask for the learner's attempt, begin with the smallest useful hint, preserve item ID `leetcode-704-binary-search`, and record a real attempt with `recorded_by: "agent"` and `agent_session_id` when available using https://mlprep.iwase.dev/schema/attempt-record.json.
