flowingfog

偶尔刷题

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

2018年11月6日

摘要: 分析 参考https://cloud.tencent.com/developer/article/1131945 我们想要达到的效果其实是—— a b 初始状态 : 0 0 第一次碰见某个数x: 0 x(把x记录在b中) 第二次碰见某个数x: x 0(把x记录在a中) 第三次碰见某个数x: 0 0( 阅读全文
posted @ 2018-11-06 22:31 flowingfog 阅读(91) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/single-number 题目 Given a non-empty array of integers, every element appears twice except for one. Find that s 阅读全文
posted @ 2018-11-06 20:53 flowingfog 阅读(87) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/valid-palindrome/ 题目 Given a string, determine if it is a palindrome, considering only alphanumeric character 阅读全文
posted @ 2018-11-06 10:13 flowingfog 阅读(87) 评论(0) 推荐(0) 编辑