LeetCode Weekly Contest 16A解题报告

LeetCode Weekly Contest 16A是LeetCode举办的第十九场正式周赛,共3道题目,比赛时长1.5小时。

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

题解列表:

LeetCode 484. Find Permutation

LeetCode 494. Target sum

LeetCode 491. Increasing Subsequences

[LeetCode]Increasing Subsequences

题目描述:

LeetCode 491. Increasing Subsequences

Given an integer array, your task is to find all the different possible increasing subsequences of the given array, and the length of an increasing subsequence should be at least 2 .

Example:

Input: [4, 6 ...

继续阅读

[LeetCode]Find Permutation

题目描述:

LeetCode 484. Find Permutation

By now, you are given a secret signature consisting of character 'D' and 'I'. 'D' represents a decreasing relationship between two numbers, 'I' represents an increasing relationship between two numbers. And our secret signature was ...

继续阅读

LeetCode Weekly Contest 15解题报告

LeetCode Weekly Contest 15是LeetCode举办的第十八场正式周赛,共3道题目,比赛时长1.5小时。

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

题解列表:

LeetCode 485. Max Consecutive Ones

LeetCode 487. Max Consecutive Ones II

LeetCode 488. Zuma Game

年度归档