摘要: Given an array of integers, every element appears three times except for one. Find that single one. solution: def singleNumber(self,A): A.sort() for i 阅读全文
posted @ 2018-01-29 15:31 HeyJudeee 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, every element appears twice except for one. Find that single one. solution: class solution: def singleNumber(self,A): A.so 阅读全文
posted @ 2018-01-29 15:31 HeyJudeee 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 题目输入输出 "this is a sentence" => [t, h, i, s, i, s, a, s, e, n, t, e, n, c, e]"thiis iss a senntencee" => [i, s, n, e]"thiisss iss a senntttenceee" => [ 阅读全文
posted @ 2018-01-29 14:33 HeyJudeee 阅读(353) 评论(0) 推荐(0) 编辑