Skip to content

Commit 9bcc2ad

Browse files
fix build for 1011
1 parent 3ece4f1 commit 9bcc2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fishercoder/solutions/_1011.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public int shipWithinDays(int[] weights, int D) {
5858

5959
// Binary search
6060
while (lower <= upper) {
61-
currentGuess = (upper + lower)/2;
61+
currentGuess = (upper + lower) / 2;
6262
if (daysToShip(weights, currentGuess) <= D) {
6363
bestGuess = currentGuess;
6464
upper = currentGuess - 1;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy