update 3637 mod solution
Some checks failed
Binary Search Test / test (push) Failing after 6s

This commit is contained in:
2026-02-17 13:31:21 +03:00
parent c750d92329
commit 2e8735ec9c

View File

@@ -69,9 +69,9 @@ public class BinarySearch3637 {
int mid = low + (high - low) / 2; int mid = low + (high - low) / 2;
if (a.get(mid) >= x) { if (a.get(mid) >= x) {
rightBoundRecursive(x, a, mid + 1, high); return rightBoundRecursive(x, a, mid + 1, high);
} else { } else {
rightBoundRecursive(x, a, low, mid - 1); return rightBoundRecursive(x, a, low, mid - 1);
} }
} }
} }