word-breakoverflow-wrapword-wrap参考:你真的了解word-wrap和word-break的区别吗?Difference between overflow-wrap and word-breakoverflow: hidden;white-space: nowrap;t...
分类:
其他好文 时间:
2014-07-25 18:56:31
阅读次数:
216
在UI设计时,经常会需要 设计 弹出对话框,以下是个样式设计:说明Title space : 标题区contents space : 内容区function space: 功能区在功能区的 user decision making 箭头表示:“用户决策方向”,有两个方向 ”正向“或者”负向“ 或者说...
分类:
其他好文 时间:
2014-07-25 14:21:11
阅读次数:
360
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
思路:笨办法是每个节点再开辟一个属性存放是否访问过,这样遍历一遍即可知道是否有环。但为了不增加额外的空间,可以设置两个指针,一个一次走一步,另一个一次走两步...
分类:
编程语言 时间:
2014-07-25 11:09:21
阅读次数:
206
一篇关于技术的文档,分享给大家。在MyEclipse中启动程序运行,报错java.lang.OutOfMemoryError: PermGen space应该怎么办?这是eclipse 内存不够的原因。 PermGen space的全称是Permanent Generation space,是指内....
分类:
系统相关 时间:
2014-07-25 10:52:31
阅读次数:
296
Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that i...
分类:
其他好文 时间:
2014-07-25 02:34:44
阅读次数:
162
Length of Last WordGiven a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.I...
分类:
其他好文 时间:
2014-07-25 02:26:04
阅读次数:
322
Java堆用于存储对象实例,我们只要不断地创建对象,并且保证GCRoots到对象之间有可达路径来避免垃圾回收机制清楚这些对象,就会在对象数量到达最大堆的容量限制后产生内存溢出异常。代码清单中限制Java堆的大小为20MB,不可扩展(将堆的最小值-Xms参数与最大值-Xmx参数设置为一..
分类:
编程语言 时间:
2014-07-24 17:56:32
阅读次数:
264
题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1416Zaphod Beeblebrox — President of the Imperial Galactic Government. And by chance he is an owner ...
分类:
其他好文 时间:
2014-07-24 17:23:25
阅读次数:
327
在CSS里,主要有强制换行和禁止换行一、强制换行 1、word-break: break-all; 只对英文起作用,以字母作为换行依据。 2、word-wrap: break-word; 只对英文起作用,以单词作为换行依据。 3、white-space: pre-wrap; 只对中文起作用,强制.....
分类:
Web程序 时间:
2014-07-24 17:16:21
阅读次数:
206
HTML 7 比特 ASCII 代码 参考手册HTML 和 XHTML 用标准的 7 比特 ASCII 代码在网络上传输数据。7 比特 ASCII 代码可提供 128 个不同的字符值。7 比特 可显示的 ASCII 代码结果描述实体编号space !exclamation mark!...
分类:
Web程序 时间:
2014-07-24 17:05:35
阅读次数:
312