码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
leetcode -Palindrome Linked List
leetcode -Palindrome Linked ListGiven 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 /...
分类:其他好文   时间:2015-07-14 17:13:22    阅读次数:82
读书笔记-深入理解JVM虚拟机-1.OOM初探
Java堆OOM(Out-Of-Memory)异常 运行如下程序,爆出异常 java.lang.OutOfMemoryError: Java heap space /** * VM Args:-Xms20m -Xmx20m -XX:+HeapDumpOnOutOfMemoryError * @author zzm */ public class HeapOOM { static c...
分类:其他好文   时间:2015-07-14 11:37:30    阅读次数:108
[LeetCode] Text Justification
The key to this problem is to identify all the words that can be added to a line and then identify the places that require an additional space (to mak...
分类:其他好文   时间:2015-07-14 06:03:24    阅读次数:108
[LeetCode] Maximum Gap
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:其他好文   时间:2015-07-13 20:13:08    阅读次数:126
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!