标签归档:leetcode

RSS feed of leetcode

[LeetCode]Find the Derangement of An Array

题目描述:

LeetCode 634. Find the Derangement of An Array

In combinatorial mathematics, a derangement is a permutation of the elements of a set, such that no element appears in its original position.

There's originally an array consisting of n integers ...

继续阅读

[LeetCode]Design Log Storage System

题目描述:

LeetCode 635. Design Log Storage System

You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Month:Day:Hour:Minute:Second, for example, 2017:01 ...

继续阅读

LeetCode Weekly Contest 38解题报告

LeetCode Weekly Contest 38是LeetCode举办的第四十三场正式周赛,共4道题目,比赛时长1.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-38/

题解列表:

LeetCode 628. Maximum Product of Three Numbers

LeetCode 630. Course Schedule III

LeetCode 629. K Inverse Pairs Array

LeetCode 631. Design Excel Sum Formula

[LeetCode]Design Excel Sum Formula

题目描述:

LeetCode 631. Design Excel Sum Formula

Your task is to design the basic function of Excel and implement the function of sum formula. Specifically, you need to implement the following functions:

Excel(int H, char W): This is the ...

继续阅读