Skip to the task
Layout
Back to classic view

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

CHECKTask 21 of 28 · step 9: Drills: check yourselfHow many checks for 16 boxes?
How many checks for 16 boxes? in practice/06/

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

Details & hint

Stuck? 5: 16 → 8 → 4 → 2 → 1, and one more check for the last box.

practice 06 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p06_temperatures main.c)
target_link_libraries(p06_temperatures PRIVATE course_input)
add_executable(p06_search search.c)
add_executable(p06_hall hall.c)