码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
超出文字省略号显示
css方法:overflow:hidden;white-space:nowrap;text-overflow:ellipsis;js方法:function Ellipsis() { $(".overflowHidden").each(function(){ maxwidth=$(...
分类:其他好文   时间:2015-07-27 14:36:04    阅读次数:123
[LeetCode] Majority Element II
Majority Element II Given an integer array of size n, find all elements that appear more than ? n/3 ? times. The algorithm should run in linear time and in O(1) space.  解题思路: 此前做了一道题目,返回主要元...
分类:其他好文   时间:2015-07-27 13:15:53    阅读次数:103
Eclipse常用快捷键
1几个最重要的快捷键代码助手:Ctrl+Space(简体中文操作系统是Alt+/)快速修正:Ctrl+1单词补全:Alt+/打开外部Java文档:Shift+F2显示搜索对话框:Ctrl+H快速Outline:Ctrl+O打开资源:Ctrl+Shift+R打开类型:Ctrl+Shift+T显示重构菜...
分类:系统相关   时间:2015-07-27 10:54:04    阅读次数:159
Unique path 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 respectively in the ...
分类:其他好文   时间:2015-07-27 00:24:20    阅读次数:102
[leedcode 142] 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?因为f...
分类:其他好文   时间:2015-07-26 23:57:57    阅读次数:213
[leedcode 141] 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?/** * Definition for singly-linked list. *...
分类:其他好文   时间:2015-07-26 22:34:52    阅读次数:163
【LeetCode】234 - 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?Hide Tags:Linked ListTwo Pointers 1 ...
分类:其他好文   时间:2015-07-26 22:26:57    阅读次数:131
[leedcode 139] Word Break
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:其他好文   时间:2015-07-26 20:47:19    阅读次数:107
Word Break
问题描述Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.F...
分类:其他好文   时间:2015-07-26 17:01:39    阅读次数:89
eclipse修改java代码后报错: java.lang.OutOfMemoryError: PermGen space
由于在eclipse中运行项目后,我们又重新修改了某个java类,导致tomcat会重新加载这个项目所有的class、jar,多次加载后由于分配的存储空间有限,就导致了:java.lang.OutOfMemoryError: PermGen space 错误的发生。这是我个人的理解我的解决办法是在t...
分类:编程语言   时间:2015-07-26 14:08:39    阅读次数:230
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!