# 归档 2016年10月9日

## 题目描述：

LeetCode 414. Third Maximum Number

Given an array of integers, return the 3rd Maximum Number in this array, if it doesn't exist, return the Maximum Number. The time complexity must be O(n) or less.

## 题目描述：

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 412. Fizz Buzz

Write a program that outputs the string representation of numbers from 1 to n.

But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz” ...

## LeetCode Weekly Contest 8解题报告 作者是 在线疯狂 发布于 2016年10月9日 在 LeetCode.

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

LeetCode 416. Partition Equal Subset Sum

LeetCode 417. Pacific Atlantic Water Flow

LeetCode 418. Sentence Screen Fitting

## 题目描述：

LeetCode 418. Sentence Screen Fitting

Given a `rows x cols` screen and a sentence represented by a list of words, find how many times the given sentence can be fitted on the screen.

Note:

1. A word cannot be split ...