update 3637 mod solution
All checks were successful
Binary Search Test / test (push) Successful in 6s

This commit is contained in:
2026-02-17 13:32:23 +03:00
parent 2e8735ec9c
commit 3cdf15224c

View File

@@ -14,8 +14,8 @@ public class BinarySearch3637 {
}
// System.out.println(rightBoundIterative(x, a) - leftBoundIterative(x, a));
System.out.println(
rightBoundRecursive(x, a, 0, a.getLength()) -
leftBoundRecursive(x, a, 0, a.getLength())
rightBoundRecursive(x, a, 0, a.getLength() - 1) -
leftBoundRecursive(x, a, 0, a.getLength() - 1)
);
}