![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
和蜗牛比赛coding
一杯敬朝阳,一杯敬月光,
唤醒我的向往,温柔了寒窗;
一杯敬故乡,一杯敬远方,
守着我的善良,催着我成长;
一杯敬明天,一杯敬过往,
支撑我的身体,厚重了肩膀;
一杯敬自由,一杯敬死亡,
宽恕我的平凡,驱散了迷惘。
展开
-
LeetCode 303:Range Sum Query - Immutable (python)
题目描述 Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. 示例如下: Given nums = [-2, 0, 3, -5, 2, -1] sumRange(0, 2) -> 1 sumRange(2, 5) -> -1 sumR...原创 2019-03-25 10:40:36 · 151 阅读 · 0 评论 -
LeetCode 10 : 正则表达式匹配 (python)
#题目描述 Given an input string (s) and a pattern §, implement regular expression matching with support for ‘.’ and ‘*’. ‘.’ Matches any single character. ‘*’ Matches zero or more of the preceding elemen...原创 2019-03-25 10:43:25 · 536 阅读 · 0 评论 -
LeetCode 136:Single Number (python)
题目描述 Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it withou...原创 2019-03-25 13:13:57 · 184 阅读 · 0 评论 -
leetCode 91:Decode Ways (python)
问题描述 A message containing letters from A-Z is being encoded to numbers using the following mapping: ‘A’ -> 1 ‘B’ -> 2 … ‘Z’ -> 26 Given a non-empty string containing only digits, determine t...原创 2019-03-25 16:17:18 · 213 阅读 · 1 评论