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