摘要:
阅读全文
摘要:
#kmp class Solution(object): def strStr(self, haystack, needle): """ :type haystack: str :type needle: str :rtype: int ... 阅读全文
摘要:
class Solution(object): def removeElement(self, nums, val): """ :type nums: List[int] :type val: int :rtype: int ... 阅读全文
摘要:
class Solution(object): def removeDuplicates(self,nums): if len(nums) <= 0: return 0 j=0 for i in range(0,len(nums)): if... 阅读全文