类别归档:LeetCode

LeetCode OJ is a platform for preparing technical coding interviews.

RSS feed of LeetCode

LeetCode Weekly Contest 8解题报告

LeetCode Weekly Contest 8是LeetCode举办的第七场正式周赛,共4道题目,比赛时长2.5小时。

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

题解列表:

LeetCode 415. Add Strings

LeetCode 416. Partition Equal Subset Sum

LeetCode 417. Pacific Atlantic Water Flow

LeetCode 418. Sentence Screen Fitting

[LeetCode]Partition Equal Subset Sum

题目描述:

LeetCode 416. Partition Equal Subset Sum

Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is equal.

Note:
Both the array ...

继续阅读

[LeetCode]Add Strings

题目描述:

LeetCode 415. Add Strings

IMPORTANT:
Solutions which uses a BigInteger library or converting the input strings to another type (such as integer) will result in disqualification of all submissions to this problem.
After the contest ends, users can view ...

继续阅读