摘要:
题目描述: 方法一: class Solution: def numOfWays(self, n: int) -> int: mod = int(1e9+7) s = ['ryr','ryg','rgr','rgy','yrg','ygr','ygy','yry','gry','grg','gyr' 阅读全文
posted @ 2020-04-12 20:09
oldby
阅读(295)
评论(0)
推荐(0)
摘要:
题目描述: 自己的提交: class Solution: def entityParser(self, text: str) -> str: text = text.replace(""","\"") text = text.replace("'","\'") text = te 阅读全文
posted @ 2020-04-12 19:46
oldby
阅读(160)
评论(0)
推荐(0)
摘要:
题目描述: 自己的提交: class Solution: def processQueries(self, queries: List[int], m: int) -> List[int]: l = [i for i in range(1,m+1)] ans = [] for i in querie 阅读全文
posted @ 2020-04-12 19:33
oldby
阅读(103)
评论(0)
推荐(0)
摘要:
题目描述: 自己的提交: class Solution: def stringMatching(self, words: List[str]) -> List[str]: def strStr(haystack: str, needle: str) -> int: if not needle:ret 阅读全文
posted @ 2020-04-12 19:27
oldby
阅读(146)
评论(0)
推荐(0)
浙公网安备 33010602011771号