?package cn.edu.xidian.sselab.array;/*** * @author zhiyong wang* title: Unique Paths* content:* robot is located at the top-left corner of a m x n ...
分类:
其他好文 时间:
2015-12-23 00:32:38
阅读次数:
136
319. Bulb SwitcherTotal Accepted:976Total Submissions:2611Difficulty:MediumThere arenbulbs that are initially off. You first turn on all the bulbs. Th...
分类:
其他好文 时间:
2015-12-20 22:09:32
阅读次数:
183
Bulb SwitcherThere arenbulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you to...
分类:
编程语言 时间:
2015-12-20 17:23:11
阅读次数:
152
题目:
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning on if it's off or turni...
分类:
其他好文 时间:
2015-12-20 07:10:34
阅读次数:
162
Find the total area covered by two rectilinear rectangles in a 2D plane.Each rectangle is defined by its bottom left corner and top right corner as sh...
分类:
其他好文 时间:
2015-12-18 06:44:23
阅读次数:
134
Find the total area covered by two rectilinear rectangles in a 2D plane.Each rectangle is defined by its bottom left corner and top right corner as sh...
分类:
其他好文 时间:
2015-12-13 23:18:50
阅读次数:
189
Given a 2D matrixmatrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1,col1) and lower right corner (row2,c...
分类:
其他好文 时间:
2015-12-07 18:35:33
阅读次数:
117
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2015-12-07 00:08:47
阅读次数:
175
加入在tableView的每个cell里都有一个圆角头像,因为在layer.corner...开销过大,所以会造成卡顿,可以通过贝塞尔曲线进行绘制。// 如下所示// Get your image somehowUIImage *image = [UIImage imageNamed:@"image...
分类:
其他好文 时间:
2015-12-03 00:05:39
阅读次数:
169