归档 2017年9月24日

LeetCode Weekly Contest 51解题报告 作者是 在线疯狂 发布于 2017年9月24日 在 LeetCode.

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

LeetCode 682. Baseball Game

LeetCode 681. Next Closest Time

LeetCode 684. Redundant Connection

LeetCode 683. K Empty Slots

题目描述：

LeetCode 683. K Empty Slots

There is a garden with `N` slots. In each slot, there is a flower. The `N` flowers will bloom one by one in `N` days. In each day, there will be `exactly` one flower ...

题目描述：

LeetCode 684. Redundant Connection

We are given a "tree" in the form of a 2D-array, with `distinct` values for each node.

In the given 2D-array, each element pair `[u, v]` represents that `v` is a child of `u` in ...

题目描述：

LeetCode 681. Next Closest Time

Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on how many times a digit can be reused.

You may ...

题目描述：

LeetCode 682. Baseball Game

You're now a baseball game point recorder.

Given a list of strings, each string can be one of the 4 following types:

1. `Integer` (one round's score): Directly represents the number of points you get in ...