摘要:
#coding=utf-8# Definition for an interval.class Interval(object): def __init__(self, s=0, e=0): self.start = s self.end = edef compare1(x, y): if x.st 阅读全文
posted @ 2019-03-19 10:16
AceKo
阅读(136)
评论(0)
推荐(0)
摘要:
class Solution(object): def isSubsequence(self, s, t): """ :type s: str :type t: str :rtype: bool """ if not s: return True if not t: return False sIn 阅读全文
posted @ 2019-03-19 10:13
AceKo
阅读(165)
评论(0)
推荐(0)
摘要:
class Solution1(object): def topKFrequent(self, nums, k): """ :type nums: List[int] :type k: int :rtype: List[int] """ Dict = {} for i in range(len(nu 阅读全文
posted @ 2019-03-19 10:11
AceKo
阅读(401)
评论(0)
推荐(0)
摘要:
# """# This is the interface that allows for creating nested lists.# You should not implement it, or speculate about its implementation# """# class Ne 阅读全文
posted @ 2019-03-19 10:10
AceKo
阅读(156)
评论(0)
推荐(0)