摘要:
Suppose you have N integers from 1 to N. We define a beautiful arrangement as an array that is constructed by these N numbers successfully if one of t 阅读全文
posted @ 2017-03-10 21:57
Grandyang
阅读(10501)
评论(1)
推荐(2)
摘要:
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Input: [0,1] Output: 2 Explanation: [0 阅读全文
posted @ 2017-03-10 11:41
Grandyang
阅读(12657)
评论(5)
推荐(0)

浙公网安备 33010602011771号