2015-06-221.UGUI Canvas 画布TheCanvascomponent represents the abstract space in which the UI is laid out and rendered. All UI elements must be children ...
分类:
其他好文 时间:
2015-06-22 21:52:58
阅读次数:
299
最近看linux的sed命令,讲有到patternspace、holdspace,编辑命令h,x,G有点难以理解,研究了下得出下面的东西:sed有两种缓冲区:通常说的sed将输入文件复制到缓冲区,对缓冲区中的副本处理后,将其输出,这个缓冲区叫:PatternBuffer(patternspace);还有一个就是HoldBuffer(hol..
分类:
其他好文 时间:
2015-06-22 20:48:34
阅读次数:
349
Set Matrix Zeroes
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A s...
分类:
其他好文 时间:
2015-06-22 11:12:40
阅读次数:
113
Description:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Code: 1 bool hasCycle(ListNo.....
分类:
其他好文 时间:
2015-06-21 18:25:08
阅读次数:
116
Description:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary word...
分类:
其他好文 时间:
2015-06-21 18:23:28
阅读次数:
116
题目链接:https://leetcode.com/problems/palindrome-number/
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative inte...
分类:
其他好文 时间:
2015-06-21 15:52:27
阅读次数:
145
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.
Try to solve it in linear time/space.
Return 0 if the array contains less than 2 elements...
分类:
其他好文 时间:
2015-06-21 14:33:28
阅读次数:
214