# 归档 2018年3月4日

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

## 题目描述：

LeetCode 795. Number of Subarrays with Bounded Maximum

We are given an array `A` of positive integers, and two positive integers `L` and `R` (`L <= R`).

Return the number of (contiguous, non-empty) subarrays such that the value of ...

## 题目描述：

LeetCode 792. Number of Matching Subsequences

Given string `S` and a dictionary of words `words`, find the number of `words[i]` that is a subsequence of `S`.

```Example :
Input:
S = "abcde"
words = ["a", "bb", "acd", "ace"]
Output: 3
Explanation: There ...```

## 题目描述：

LeetCode 794. Valid Tic-Tac-Toe State

A Tic-Tac-Toe board is given as a string array `board`. Return True if and only if it is possible to reach this board position during the course of a valid tic-tac-toe game.

The `board ...`