Skip to content

Commit 8fe955f

Browse files
fix build
1 parent 73b5314 commit 8fe955f

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/fishercoder/solutions/secondthousand

1 file changed

+1
-1
lines changed

Diff for: src/main/java/com/fishercoder/solutions/secondthousand/_1509.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public int minDifference(int[] nums) {
1414
int minDiff = Math.abs(nums[len - 4] - nums[0]);
1515

1616
//now try to change the three smallest to biggest
17-
minDiff = Math.min(minDiff, nums[len -1] - nums[3]);
17+
minDiff = Math.min(minDiff, nums[len - 1] - nums[3]);
1818

1919
//now try to change first two and last one
2020
minDiff = Math.min(minDiff, nums[len - 2] - nums[2]);

0 commit comments

Comments
 (0)