码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
[LeetCode] Set Matrix Zeroes 矩阵赋零
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:其他好文   时间:2015-03-16 14:26:38    阅读次数:105
Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?思路:...
分类:其他好文   时间:2015-03-16 12:38:20    阅读次数:95
LeetCode --- 63. Unique Paths II
题目链接:Unique Paths II Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 resp...
分类:其他好文   时间:2015-03-15 23:43:50    阅读次数:310
Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?思路:1.两个指针,一个走1步,一个走2步,如果相遇则有环注意: 在使用p->nex...
分类:其他好文   时间:2015-03-15 19:38:56    阅读次数:126
几种处理文字的小技巧
通过CSS可以对文字有很不错的处理效果。以下就简单的整理几种文字处理技巧。持续更新。一、文字溢出:text-overflow 基本的式样如下:1 .huanhang {2 display: block; /*必须是块级元素*/3 white-space: nowrap; /*不换行...
分类:其他好文   时间:2015-03-15 16:38:13    阅读次数:135
Unity UGUI——Canvas绘制模式比较
三种绘制模式:Screen Space - Overlay、Screen Space - Camera和World Space...
分类:编程语言   时间:2015-03-15 09:26:16    阅读次数:160
URAL 1040 Airline Company 构造,思路 难度:2
http://acm.timus.ru/problem.aspx?space=1&num=1040题目要求在一个联通无向图中找出一种方法给边标号使得任意一个有多条边的点,边的号码的最大公约数都为1想象在dfs树上,以1为根进入,将第一条边标为序号1,则节点1满足条件剩下的边遵照dfs顺序表明,那么非...
分类:其他好文   时间:2015-03-15 07:01:29    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!