自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 Lint Code #9. Fizz Buzz 问题

Lint Code #9. Fizz Buzz 问题[问题地址]:https://www.lintcode.com/problem/fizz-buzz/description解法一:class Solution: """ @param n: An integer @return: A list of strings. """ def fizzBuzz(...

2018-11-29 10:33:20 136

原创 LintCode #8. 旋转字符串

LintCode #8. 旋转字符串[问题地址]:https://www.lintcode.com/problem/rotate-string/description解法一:class Solution: """ @param: str: An array of char @param: offset: An integer @return: nothing...

2018-11-12 10:58:06 160

原创 LintCode #7. 二叉树的序列化和反序列化

LintCode #7. 二叉树的序列化和反序列化[问题地址]:https://www.lintcode.com/problem/serialize-and-deserialize-binary-tree/description解法一:#DFS solutionclass Solution: def serialize(self, root): # write y...

2018-11-12 10:23:09 165

原创 Lint Code #6. 合并排序数组 II

Lint Code #6. 合并排序数组 II[问题地址]:https://www.lintcode.com/problem/merge-two-sorted-arrays/description解法一:class Solution: """ @param A: sorted integer array A @param B: sorted integer array...

2018-11-05 22:34:49 133

原创 Lint Code #5. 第k大元素

Lint Code #5. 第k大元素[问题地址]:https://www.lintcode.com/problem/kth-largest-element/description解法一:class Solution: """ @param n: An integer @param nums: An array @return: the Kth largest...

2018-11-05 22:32:11 111

原创 LintCode #4. 丑数 II

LintCode #4. 丑数 II[问题地址]:https://www.lintcode.com/problem/ugly-number-ii/description解法一:class Solution: """ @param n: An integer @return: the nth prime number as description. """ ...

2018-11-05 22:27:10 157

原创 Lint Code #3. 统计数字

Lint Code #3. 统计数字[问题地址]:https://www.lintcode.com/problem/digit-counts/description解法一:class Solution: """ @param k: An integer @param n: An integer @return: An integer denote the co...

2018-11-05 22:22:18 93

原创 LintCode #2. 尾部的零

LintCode #2. 尾部的零[问题地址]:https://www.lintcode.com/problem/trailing-zeros/description解法一:class Solution: """ @param: n: An integer @return: An integer, denote the number of trailing zeros...

2018-11-05 22:13:37 121

原创 LintCode #1. A + B 问题

LintCode #1. A + B 问题问题地址##

2018-11-05 21:57:43 161

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除