Skip to main content

Practice · 1 of 4

Clinic: The Stalling Search

CHALLENGE
Difficulty: advanced+25 XP

**Bài toán.** Sorted array of n ≤ 200000 values; find the FIRST index (0-based) with value ≥ target, or −1. q is folded into the input format: single query per run. **The submission below has a broken loop — Wrong Answer/Infinite-loop class.** Find the input that stalls or returns the wrong index; fix it.

Back to lesson: Practice: Clinic Set 2 — Subtle Failures