public class Solution {
public int singleNumber(int[] A) {
int result = 0;
for(int i=0; i<A.length; i++){
result = result ^ A[i];
}
return result;
}
}
Single Number
最新推荐文章于 2020-10-26 17:50:47 发布