This commit is contained in:
krahets
2023-07-25 16:42:55 +08:00
parent 0760e0865e
commit 902087ec81
23 changed files with 154 additions and 177 deletions

View File

@@ -152,7 +152,7 @@ comments: true
return new int[] { i, j };
}
}
return new int[0];
return Array.Empty<int>();
}
```
@@ -402,7 +402,7 @@ comments: true
}
dic.Add(nums[i], i);
}
return new int[0];
return Array.Empty<int>();
}
```