- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 python写算法题:leetcode: 32. Longest Valid Parentheses
https://leetcode.com/problems/longest-valid-parentheses/#/description class Solution(object): def longestValidParentheses(self, s): """ :type s: str :rtype: ins
2017-07-29 11:13:49 242
原创 python写算法题:leetcode: 31. Next Permutation
https://leetcode.com/problems/next-permutation/#/description class Solution(object): def nextPermutation(self, nums): """ :type nums: List[int] :rtype: void Do not retur
2017-07-13 12:06:23 318
原创 python写算法题:leetcode: 30. Substring with Concatenation of All Words
https://leetcode.com/problems/substring-with-concatenation-of-all-words/#/description class Solution(object): def matchstr(self, p0, p1, wordsind, wlen, posmap): wv={} for w in
2017-07-12 19:55:14 243
原创 python写算法题:leetcode: 29. Divide Two Integers
https://leetcode.com/problems/divide-two-integers/#/description class Solution(object): def divide(self, dividend, divisor): """ :type dividend: int :type divisor: int
2017-07-04 19:43:44 306
原创 python写算法题:leetcode: 28. Implement strStr()
https://leetcode.com/problems/implement-strstr/#/description class Solution(object): def kmpTab(self, needle): nlen = len(needle) tab = [0]*nlen j = 0 for i
2017-07-04 19:42:02 294
gameboy advanced for motorola
2008-04-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人