Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 20
What does slice::binary_search return?
A
bool
B
Option<usize>
C
Ok(index) if found, Err(insertion_index) if not, keeping the slice sorted
D
The element itself