Jump to content

Binary search: Difference between revisions

m
→‎{{header|Rust}}: Remove unnecessary variable
m (→‎{{header|Lolcode}}: added output example and changed the target it is running for from 21 to 12)
m (→‎{{header|Rust}}: Remove unnecessary variable)
Line 5,080:
 
while low < high {
let _result = match target.cmp(&data[mid]) {
Less => {
high = mid;
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.