Skip to content

Commit 4fed31d

Browse files
authored
Update Solution.java
1 parent 5ca5cd9 commit 4fed31d

File tree

1 file changed

+0
-1
lines changed
  • src/main/java/g2301_2400/s2367_number_of_arithmetic_triplets

1 file changed

+0
-1
lines changed

src/main/java/g2301_2400/s2367_number_of_arithmetic_triplets/Solution.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public int arithmeticTriplets(int[] nums, int diff) {
1212
for (int x : nums) {
1313
set.add(x);
1414
}
15-
1615
int ans = 0;
1716
for (int x : nums) {
1817
if (set.contains(x - diff) && set.contains(x + diff)) {

0 commit comments

Comments
 (0)