# 归档 2017年4月

## LeetCode Weekly Contest 30解题报告 作者是 在线疯狂 发布于 2017年4月30日 在 LeetCode.

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

LeetCode 566. Reshape the Matrix

LeetCode 560. Subarray Sum Equals K

LeetCode 567. Permutation in String

LeetCode 568. Maximum Vacation Days

## 题目大意：

LeetCode 568. Maximum Vacation Days

LeetCode wants to give one of its best employees the option to travel among N cities to collect algorithm problems. But all work and no play makes Jack a dull boy, you could take ...

## 题目描述：

LeetCode 567. Permutation in String

Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutations is the substring of the second ...

## 题目描述：

LeetCode 560. Subarray Sum Equals K

Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.

Example 1:

`Input:nums = [1,1,1], k = 2 ...`

## 题目描述：

LeetCode 566. Reshape the Matrix

In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.

You're given a matrix represented by a ...