归档 2017

[LeetCode]Fraction Addition and Subtraction

题目描述:

LeetCode 592. Fraction Addition and Subtraction

Given a string representing an expression of fraction addition and subtraction, you need to return the calculation result in string format. The final result should be irreducible fraction. If your final result is ...

继续阅读

[LeetCode]Longest Harmonious Subsequence

题目描述:

LeetCode 594. Longest Harmonious Subsequence

We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1.

Now, given an integer array, you need to find the length of ...

继续阅读

LeetCode Weekly Contest 32解题报告

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

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

题解列表:

LeetCode 581. Shortest Unsorted Continuous Subarray

LeetCode 582. Kill Process

LeetCode 583. Delete Operation for Two Strings

LeetCode 587. Erect the Fence

每月存档

去年

明年