归档 2017年9月

题目描述：

LeetCode 690. Employee Importance

You are given a data structure of employee information, which includes the employee's unique id, his importance value and his direct subordinates' id.

For example, employee 1 is the leader of employee 2, and employee ...

题目描述：

LeetCode 685. Redundant Connection II

In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this node, plus every node has exactly ...

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