10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ece4f1 commit 9bcc2adCopy full SHA for 9bcc2ad
src/main/java/com/fishercoder/solutions/_1011.java
@@ -58,7 +58,7 @@ public int shipWithinDays(int[] weights, int D) {
58
59
// Binary search
60
while (lower <= upper) {
61
- currentGuess = (upper + lower)/2;
+ currentGuess = (upper + lower) / 2;
62
if (daysToShip(weights, currentGuess) <= D) {
63
bestGuess = currentGuess;
64
upper = currentGuess - 1;
0 commit comments