[LeetCode]Arithmetic Slices

题目描述:

LeetCode 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.

For example, these are arithmetic sequence:

1, 3 ...

继续阅读

LeetCode Weekly Contest 8解题报告

LeetCode Weekly Contest 8是LeetCode举办的第七场正式周赛,共4道题目,比赛时长2.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-8/

题解列表:

LeetCode 415. Add Strings

LeetCode 416. Partition Equal Subset Sum

LeetCode 417. Pacific Atlantic Water Flow

LeetCode 418. Sentence Screen Fitting