摘要: HashTable Easy 1. 136. Single Number 0与0异或是0,1与1异或也是0,那么我们会得到0 2. 202. Happy Number 用 HashSet 来记录所有出现过的数字,然后每出现一个新数字,在 HashSet 中查找看是否存在,若不存在则加入表中,若存在则 阅读全文
posted @ 2019-04-21 22:44 阿飞哦 阅读(235) 评论(0) 推荐(0) 编辑