# 归档 2018年3月

## 题目描述：

LeetCode 799. Champagne Tower

We stack glasses in a pyramid, where the first row has 1 glass, the second row has 2 glasses, and so on until the 100th row.  Each glass holds one cup (250ml) of champagne ...

## 题目描述：

LeetCode 797. All Paths From Source to Target

Given a directed, acyclic graph of `N` nodes.  Find all possible paths from node `0` to node `N-1`, and return them in any order.

The graph is given as follows ...

## 题目描述：

LeetCode 796. Rotate String

We are given two strings, `A` and `B`.

A shift on `A` consists of taking string `A` and moving the leftmost character to the rightmost position. For example, if `A = 'abcde'`, then it will be ...

## LeetCode Weekly Contest 74解题报告 作者是 在线疯狂 发布于 2018年3月4日 在 LeetCode.

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

LeetCode 794. Valid Tic-Tac-Toe State

LeetCode 792. Number of Matching Subsequences

LeetCode 795. Number of Subarrays with Bounded Maximum

LeetCode 793. Preimage Size of Factorial Zeroes ...

## 题目描述：

LeetCode 793. Preimage Size of Factorial Zeroes Function

Let `f(x)` be the number of zeroes at the end of `x!`. (Recall that `x! = 1 * 2 * 3 * ... * x`, and by convention, `0! = 1`.)

For example, `f(3) = 0` because ...