摘要: class Solution: def findComplement(self, num): """ :type num: int :rtype: int """ binaryX = bin(... 阅读全文
posted @ 2018-05-03 22:21 kkkkkksssss 阅读(95) 评论(0) 推荐(0) 编辑
摘要: class Solution: def hammingDistance(self, x, y): """ :type x: int :type y: int :rtype: int """ ... 阅读全文
posted @ 2018-05-03 21:34 kkkkkksssss 阅读(105) 评论(0) 推荐(0) 编辑
摘要: class Solution: def judgeCircle(self, moves): """ :type moves: str :rtype: bool """ count_R = 0 ... 阅读全文
posted @ 2018-05-03 20:23 kkkkkksssss 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Python初学,画风难免清奇……class Solution(object): def numJewelsInStones(self, J, S): count = 0 for j in J : for s i... 阅读全文
posted @ 2018-05-03 20:08 kkkkkksssss 阅读(82) 评论(0) 推荐(0) 编辑