码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
《nodeJs开发指南》博客demo重写(jade+MySQL)
整体感觉jade没有ejs好用呢。。。 jade的格式完全是根据tab和space来判断的,感觉就不是特别方便,在程序方面可能还有很多不成熟的地方,希望大家能指出来! 特别感谢一下几位大神的分享: 1.http://www.cnblogs.com/haogj/p/3985438.html迁...
分类:数据库   时间:2015-09-29 14:41:12    阅读次数:250
对于宽度不确定的元素,进行文字省略
max-width:79px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis; 对于手机端的页面,很多时候宽度是使用百分比,当文字过长时,需要进行省略时,可以加上max-width和display:block。
分类:其他好文   时间:2015-09-29 12:48:14    阅读次数:173
blank space in latex math environment
\quadtakes its name from this traditional name;\qquadjust means ”two quads”. However in TeX the\quadhas no height, but only width.
分类:其他好文   时间:2015-09-28 22:11:53    阅读次数:192
【Leetcode】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-09-28 19:00:08    阅读次数:162
LeetCode——Linked List Cycle
Description:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?在不借助辅助空间的情况下判断一个链表是否存在回路。可以用两个...
分类:其他好文   时间:2015-09-28 18:44:08    阅读次数:133
Palindrome Linked List
Given a singly linked list, determine if it is a palindrome. Follow up:Could you do it in O(n) time and O(1) space? 1、朴素方法 /** * Definition for singly...
分类:其他好文   时间:2015-09-27 16:14:32    阅读次数:191
LeetCode Rotate Image
原题链接在这里:https://leetcode.com/problems/rotate-image/顺时针旋转矩阵,举例子找规律。若是需要做成in-space, 那么相当于把矩阵拆成四块,第一块值保留,然后四块依次赋值,最后一块等于保留值。但需要注意循环中i,j中必有一个参数是小于等于Math.c...
分类:其他好文   时间:2015-09-27 09:56:54    阅读次数:206
LeetCode Container With Most Water
原题链接在这里:https://leetcode.com/problems/container-with-most-water/左右加班依次向中间移动,维护一个最大面积,每次移动小的那个夹板,因为储水量是由短的夹板决定的,移动大的夹板不会使面积更大。Time O(n), Space O(1).AC ...
分类:其他好文   时间:2015-09-26 07:00:41    阅读次数:164
Java虚拟机(JVM)中的内存设置详解
在一些规模稍大的应用中,Java虚拟机(JVM)的内存设置尤为重要,想在项目中取得好的效率,GC(垃圾回收)的设置是第一步。PermGen space:全称是Permanent Generation space.就是说是永久保存的区域,用于存放Class和Meta信息,Class在被Load的时候被...
分类:编程语言   时间:2015-09-24 23:57:06    阅读次数:506
LeetCode:Palindrome Number - 回文数
1、题目名称 Palindrome Number(回文数) 2、题目地址 https://leetcode.com/problems/palindrome-number 3、题目内容 英文:Determine whether an integer is a palindrome. Do this without extra space. 中文...
分类:其他好文   时间:2015-09-24 22:54:21    阅读次数:148
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!