413. Arithmetic Slices

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.php For example, these are arithmetic sequenc
相关文章
相关标签/搜索