摘要:
一、前言 二、题717 1-bit and 2-bit Characters We have two special characters. The first character can be represented by one bit 0. The second character can b 阅读全文
posted @ 2017-11-14 22:12
小漾儿
阅读(365)
评论(0)
推荐(0)
摘要:
一、前言 二、题695 Max Area of Island Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directional 阅读全文
posted @ 2017-11-14 16:39
小漾儿
阅读(418)
评论(0)
推荐(0)
摘要:
一、前言 二、题485 Max Consecutive Ones Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will 阅读全文
posted @ 2017-11-14 16:35
小漾儿
阅读(208)
评论(0)
推荐(0)
摘要:
一、前言 二、题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 s 阅读全文
posted @ 2017-11-14 16:04
小漾儿
阅读(153)
评论(0)
推荐(0)
摘要:
一、前言 二、题561 Array Partition I Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ... 阅读全文
posted @ 2017-11-14 15:39
小漾儿
阅读(205)
评论(0)
推荐(0)