leetcode 413. Arithmetic Slices

1.题目 A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same. 等差数列的定义为:至少三个数字组成,两两相邻的数字之差相同。 等差数列,例如:
相关文章
相关标签/搜索