You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?...
分类:
编程语言 时间:
2014-07-19 23:46:49
阅读次数:
516
In this article, I gathered up all the dumps, who found. If you see something new table will be updated.If you want to replenish the base - write in c...
分类:
移动开发 时间:
2014-07-19 23:12:35
阅读次数:
867
项目中用到标题栏,发现安卓提供的actionbar无法将标题居中显示,另外标题栏的颜色需要自定义,所以需要使用自定义标题栏 。新建工程MyTitle,不用修改main.xml文件,在/res/layout目录下新建布局文件title.xml,在里面添加一个TextView和一个Button,完整的t...
分类:
移动开发 时间:
2014-07-19 23:06:43
阅读次数:
336
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?算法思路1:快慢指针,当两个指针相遇,则表示有环,...
分类:
其他好文 时间:
2014-07-19 18:38:30
阅读次数:
198
Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without u...
分类:
其他好文 时间:
2014-07-19 18:18:51
阅读次数:
270
Linux用不惯的很大一个原因是终端下编译。主要是平时Win下也不怎么用终端。最近刚刚发现Gedit可以添加外部工具,运行Shell命令。这不就行了,我TM之前怎么没想到呢。从终端中狂按Up-Down解脱了。然后Win下Notepad++ Linux下Gedit 基本一样嘛。(gedit工具)一键编...
分类:
系统相关 时间:
2014-07-19 18:11:20
阅读次数:
224
点显示进度条后→ android:max="100" 进度条的最大值 android:progress 进度条已经完成的进度值 android:progressDrawable 已经完成的进度条轨道显示的Drawable对象in...
分类:
其他好文 时间:
2014-07-19 15:23:13
阅读次数:
393
After following many outdated and incomplete instructions for setting up a web development environment on a Mac (back in March 2012), and spending a l...
分类:
其他好文 时间:
2014-07-19 15:00:41
阅读次数:
730
唔 神题一道 大家感受一下1873. GOV ChroniclesTime limit: 0.5 secondMemory limit: 64 MBA chilly autumn night. Well wrapped up in a coat, a man is rapidly walking a...
分类:
其他好文 时间:
2014-07-19 14:37:18
阅读次数:
415
Double 四舍五入保留小数:
/**
* @example roundUpNumber(20.47, 0) = 20.5, roundUpNumber(20.449, 1) = 20.45 * @description round up double number * @param Double d * @param Integer index * @return *...
分类:
其他好文 时间:
2014-07-19 08:08:55
阅读次数:
219