归档 2017年11月13日

LeetCode Weekly Contest 58解题报告 作者是 在线疯狂 发布于 2017年11月13日 在 LeetCode.

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

LeetCode 724. Find Pivot Index

LeetCode 725. Split Linked List in Parts

LeetCode 726. Number of Atoms

LeetCode 727. Minimum Window Subsequence

题目描述：

LeetCode 727. Minimum Window Subsequence

Given strings `S` and `T`, find the minimum (contiguous) substring `W` of `S`, so that `T` is a subsequence of `W`.

If there is no such window in `S` that covers all characters in ...

题目描述：

LeetCode 726. Number of Atoms

Given a chemical `formula` (given as a string), return the count of each atom.

An atomic element always starts with an uppercase character, then zero or more lowercase letters, representing the name.

1 or ...

题目描述：

LeetCode 725. Split Linked List in Parts

Given a (singly) linked list with head node `root`, write a function to split the linked list into `k` consecutive linked list "parts".

The length of each part should be as equal ...

题目描述：

LeetCode 724. Find Pivot Index

Given an array of integers `nums`, write a method that returns the "pivot" index of this array.

We define the pivot index as the index where the sum of the numbers to the left ...