删除冗余代码

This commit is contained in:
ImCaO 2022-02-18 23:20:39 +08:00 committed by GitHub
parent 2c31eddf34
commit d638f337a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,6 @@ public int duplicate(int[] nums) {
} }
swap(nums, i, nums[i]); swap(nums, i, nums[i]);
} }
swap(nums, i, nums[i]);
} }
return -1; return -1;
} }