
题目
Given an array of integers, every element appears twice except for one. Find that single one.
思路
两个相同的数字异或为零
代码
1 |
class Solution(object): |

Given an array of integers, every element appears twice except for one. Find that single one.
两个相同的数字异或为零
1 |
class Solution(object): |
近期评论