Skip to content

Commit 403543e

Browse files
fix build
1 parent 8221b49 commit 403543e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ public List<List<Integer>> minimumAbsDifference(int[] arr) {
4444
for (int i = 1; i < arr.length - 1; i++) {
4545
int diff = arr[i + 1] - arr[i];
4646
if (minimumDiff == diff) {
47-
result.add(Arrays.asList(arr[i], arr[i+1]));
47+
result.add(Arrays.asList(arr[i], arr[i + 1]));
4848
} else if (minimumDiff > diff) {
4949
minimumDiff = diff;
5050
result = new ArrayList();
51-
result.add(Arrays.asList(arr[i], arr[i+1]));
51+
result.add(Arrays.asList(arr[i], arr[i + 1]));
5252
}
5353
}
5454
return result;

0 commit comments

Comments
 (0)