Compare commits

..

No commits in common. "1feed10d53187d596c82c6fcfa0d1cc8fb452fb2" and "abb7b043839cc8ff337becd266b6e5fd91da051d" have entirely different histories.

View File

@ -57,8 +57,6 @@ 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;
} }