Compare commits
2 Commits
abb7b04383
...
1feed10d53
Author | SHA1 | Date | |
---|---|---|---|
|
1feed10d53 | ||
|
d9735ec2bd |
@ -57,6 +57,8 @@ public class InterpolationSearch {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Checks if it passed the element due to it not being in list. */
|
||||||
if (array[high] < key || array[low] > key) {
|
if (array[high] < key || array[low] > key) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user