Formatted with Google Java Formatter

This commit is contained in:
github-actions 2021-04-14 03:51:16 +00:00
parent b8707e61cb
commit 8cece6c399

View File

@ -45,7 +45,7 @@ class BinarySearch implements SearchAlgorithm {
if (right < left) return -1; // this means that the key not found
// find median
int median = left + ((right-left) >>> 1);
int median = left + ((right - left) >>> 1);
int comp = key.compareTo(array[median]);
if (comp == 0) {