码迷,mamicode.com
首页 >  
搜索关键字:heap space    ( 20988个结果
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...
分类:其他好文   时间:2014-06-28 14:19:44    阅读次数:232
Leetcode: 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?Analysis: typical Runner Technique. 一次过 1 ...
分类:其他好文   时间:2014-06-28 13:44:51    阅读次数:164
Leetcode: Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without using extra space?一次...
分类:其他好文   时间:2014-06-28 13:38:14    阅读次数:171
PLSQL_Oracle PLSQL内置函数大全(概念)
2014-06-20 BaoXinjianPLSQL常用方法大全1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space fromdual; Aa ZERO SPACE-...
分类:数据库   时间:2014-06-23 08:36:09    阅读次数:3011
tomcat启动时JVM内存大小,以免出现内存溢出
问题:主要是2个内存溢出的错误。首先是:java.lang.OutOfMemoryError: Java heap space其次是:java.lang.OutOfMemoryError: PermGen space最终解决办法【我是4G内存,请适当修改大小】:【Windows】在catalina....
分类:其他好文   时间:2014-06-23 06:34:12    阅读次数:205
zabbix linux被监控端部署
测试使用agentd监听获取数据。服务端的安装可以查看http://blog.chinaunix.net/space.php?uid=25266990&do=blog&id=3380929下载http://www.zabbix.com/downloads/2.0.3/zabbix_agents_2....
分类:系统相关   时间:2014-06-23 06:30:18    阅读次数:261
tomcat启动多个应用时报内存溢出
tomcat的webapp下放了多个应用,当tomcat启动时会出现perm区内存溢出的报错:Exception in thread "portalMessageListener-444" java.lang.OutOfMemoryError: PermGen space解决方案:增加catalin...
分类:其他好文   时间:2014-06-23 00:57:37    阅读次数:208
LeetCode:Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? ...
分类:其他好文   时间:2014-06-22 21:31:26    阅读次数:214
【Leetcode】Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. 思路:若使用【Leetcode】Reverse Integer 的方法,判断反转后的整数是否与原整数相同,则可能出现溢出情况;又因为题目要求不适用额外空间,可以之间对比整数第一个与最后一个数的值,再依次类推。 class Solution {...
分类:其他好文   时间:2014-06-22 20:43:56    阅读次数:187
POJ 1785 Binary Search Heap Construction (线段树)
题目大意: 给出的东西要求建立一个堆,使得后面的数字满足堆的性质,而且字符串满足搜索序 思路分析: 用线段树的最大询问建树。在建树之前先排序,然后用中序遍历递归输出。 注意输入的时候的技巧。。。 #include #include #include #include #define lson num<<1,s,mid #define rson num<<1|1,m...
分类:其他好文   时间:2014-06-21 21:38:34    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!