![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode练习
liangwgl
如何走出困惑?
多走几步。
展开
-
413.[LeetCode] Arithmetic Slices 算数切片
Arithmetic Slices(详情见leetcode)1//.题目链接:https://leetcode.com/problems/arithmetic-slices/description/2.//题目大意:给你一个整形一维数组,让你判断长度大于等于3的等差数列又多少个比如:Input: [2, 4, 6, 8, 10]Output: 7Explanation:All arithmeti...原创 2018-03-24 21:33:44 · 163 阅读 · 0 评论 -
LeetCode 70. Climbing Stairs
1.题目:https://leetcode.com/problems/climbing-stairs/description/-----------------------------------------------------------------------------------------------------------2.大意:有n级台阶,从最底层出发,每次只能跨一步或者两步,...原创 2018-04-08 10:01:56 · 105 阅读 · 0 评论 -
Leetcode 136 Single Number I
1.题目链接:https://leetcode.com/problems/single-number/description//---------------------------------------------------------------------------------2.题目大意:在一个数组里除了一个数出现一次以外,其他数都出现过两次,求这个只出现一次的这个数是多少,同时要求...原创 2018-04-15 15:37:20 · 105 阅读 · 0 评论