Skip to content

Commit d1dee7d

Browse files
authored
Update 剑指offer3数组中重复的数.md
1 parent 19b8ca6 commit d1dee7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

animation-simulation/数组篇/剑指offer3数组中重复的数.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ C++ Code:
8888
class Solution {
8989
public:
9090
int findRepeatNumber(vector<int>& nums) {
91-
if(nums.empty()) return 0;
91+
if(nums.empty()) return 0;
9292
int n = nums.size();
9393
for(int i = 0; i < n; ++i){
9494
while(nums[i] != i){

0 commit comments

Comments
 (0)