摘要: 389. Find the Difference ^ (按位异或): 参加运算的两个数,如果两个相应位为“异”(值不同),则该位结果为1,否则为0。 抵消掉相同的位,剩下的就是多余的位。 class Solution { public char findTheDifference(String s, 阅读全文
posted @ 2019-11-06 18:54 阿飞哦 阅读(132) 评论(0) 推荐(0) 编辑