Skip to the task
Layout
Back to classic view

You are looking ahead. Your place is still task 1: About.

CHECKTask 13 of 17 · step 3: Questions 7–12How many checks for 100 boxes?
How many checks for 100 boxes? in practice/01/

An array holds 100 sorted numbers. At most how many boxes does binary search check?

Details & hint

Stuck? 7: 100 → 50 → 25 → 12 → 6 → 3 → 1; 2⁷ = 128 > 100. (Topic 6)

practice 01 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p01_hello main.c)