mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-23 17:53:42 +00:00
Update 3. 数组中重复的数字.md
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
2b56a2277f
commit
f32b8c0ea9
@@ -36,7 +36,6 @@ public int duplicate(int[] nums) {
|
||||
}
|
||||
swap(nums, i, nums[i]);
|
||||
}
|
||||
swap(nums, i, nums[i]);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user