Pick the fix
alt[mid] = 8 and alt[mid + 1] = 11. Where is the summit?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Strictly to the right of mid
Right: the route is still rising at mid.
A rising step at mid means you are on the climb, so the summit lies further along.
Why not the others?
- B At mid. A higher point right after mid rules that out.
- C To the left of mid. On the falling side every next point is lower, which is not the case here.