- 博客(3)
- 收藏
- 关注
原创 leetcode algo NO.171 python solution
class Solution: def titleToNumber(self, s): """ :type s: str :rtype: int """ sum = 0 for i in range(len(s)): sum += (ord(s[-(i+1)])-64) ...
2018-07-10 06:24:37
235
原创 leetcode algo NO.784 python solution
class Solution: def letterCasePermutation(self, S): """ :type S: str :rtype: List[str] """ def switch_capital(char): if char.isupper(): ...
2018-07-08 10:30:10
304
原创 leetcode algo NO.690 python solution
class Solution: def getImportance(self, employees, id): """ :type employees: Employee :type id: int :rtype: int """ self.table = {e.id: e for e in e...
2018-07-08 10:24:05
198
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅