摘要: Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one. def singleNumber(self, A): l = len(... 阅读全文
posted @ 2015-03-28 21:02 繁星苑 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla... 阅读全文
posted @ 2015-03-28 19:02 繁星苑 阅读(188) 评论(0) 推荐(0) 编辑