Skip to content

Commit 35dfce8

Browse files
refactor 1066
1 parent f6eb567 commit 35dfce8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ private void backtracking(int[][] workers, int[][] bikes, int workersIndex, bool
4040
minSum = Math.min(minSum, currentSum);
4141
return;
4242
}
43+
4344
if (currentSum > minSum) {
4445
return;
4546
}
47+
4648
for (int j = 0; j < bikes.length; j++) {
4749
if (!bikesAssigned[j]) {
4850
bikesAssigned[j] = true;

0 commit comments

Comments
 (0)