---------------------------------------博文作者:迦壹博客标题:Mac10.9用brew搭建Eclipse4.4+Maven3.2.3+JDK1.8运行环境博客地址:http://idoall.org/home.php?mod=space&uid=1&do=bl...
分类:
系统相关 时间:
2014-09-12 18:58:34
阅读次数:
551
给定链表和整数k, 使用in-space方法将链表按k个为一组进行倒序, 如果剩余个数不足k个则保留其原始顺序.如给定1->2->3->4->5,k= 2, 需要返回 2->1->4->3->5; 给定1->2->3->4->5, k= 3, 需要返回 3->2->1->4->5.算法描述:使用指针...
分类:
其他好文 时间:
2014-09-12 18:54:53
阅读次数:
232
IE7以上都支持父元素加一下cssoverflow: hidden;white-space: no-wrap; //阻止换行text-over: ellipsis; //超过长度...子元素为行内元素就可
分类:
其他好文 时间:
2014-09-12 18:46:53
阅读次数:
221
这几天因为一个小项目用到Lucene,于是去学习了一下,现在还有很多地方没有了解,先就我遇到的问题做下总结。
一、大文本建索引问题
我这里说的大文本,实际上也就200M左右的txt,或许不应该成为大文本,但是我在建索引时遇到200M左右的的确导致了内存溢出,报错误java.lang.OutOfMemoryError: Java heap space ,到网上查了很久,试了一些方法,比如修改JV...
分类:
其他好文 时间:
2014-09-12 12:02:13
阅读次数:
270
AWR需要禁用?这么好的东东。缺省的情况下,AWR是可以使用的,需要耗用一定的sysaux表空间。但涉及到有关AWR相关的调试包(需要license)会访问AWR视图或者awr异常又不想更新patch,甚至没有patch可用的情况下,我们可以禁用AWR以及卸载AWR,本文演示了如果禁用AWR功能以及卸载awr相关的数据字典。1、禁用AWR的目的If most of the space in the...
分类:
数据库 时间:
2014-09-12 11:57:23
阅读次数:
329
转载自 :http://greemranqq.iteye.com/blog/1705867转载自:http://www.cnblogs.com/xwdreamer/archive/2011/11/21/2296930.htmlJava代码 Exceptioninthread"ContainerBac...
分类:
编程语言 时间:
2014-09-12 10:04:43
阅读次数:
213
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space? 1 /** 2 * Definition for singly-linked l....
分类:
其他好文 时间:
2014-09-11 22:18:12
阅读次数:
311
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-09-11 20:53:22
阅读次数:
247
---------------------------------------博文作者:迦壹博客标题:win8.1_64bit+eclipse4.4+maven3.2.3+JDK1.8环境搭建博客地址:http://idoall.org/home.php?mod=space&uid=1&do=blo...
1、题目Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?2、思路设置两个指针,一个每次走一步,另一个每次走两步。走两步的一定会追上走...
分类:
其他好文 时间:
2014-09-11 19:04:32
阅读次数:
223