# 归档 2017年1月

## 题目描述：

LeetCode 494. Target sum

You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols `+` and `-`. For each integer, you should choose one from `+` and `-` as its new symbol.

Find ...

## 题目描述：

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解题报告 作者是 在线疯狂 发布于 2017年1月15日 在 LeetCode.

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

LeetCode 485. Max Consecutive Ones

LeetCode 487. Max Consecutive Ones II

LeetCode 488. Zuma Game

## 题目描述：

LeetCode 488. Zuma Game

Think about Zuma Game. You have a row of balls on the table, colored red(R), yellow(Y), blue(B), green(G), and white(W). You also have several balls in your hand.

Each time ...

## 题目描述：

LeetCode 487. Max Consecutive Ones II

Given a binary array, find the maximum number of consecutive 1s in this array if you can flip at most one 0.

Example 1:

```Input: [1,0,1,1,0]
Output: 4
Explanation ...```