Zhou Zhiren
Results
1
comments of
Zhou Zhiren
如果给出的数组不是[1...n], 而是[0,n-1]和索引一一对应,那么当nums[dup]==0时,也就是重复索引下对应的元素为0时,是找不到重复的数字的,同样,当缺失数字索引下对应的元素为0时,也是找不到缺失的数字的