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? ...
分类:
编程语言 时间:
2016-05-18 21:58:35
阅读次数:
138
今天登陆系统在cd到某个目录使用tab键的时候报错了linux很友好的提示了:不能创建临时文件文档:设备上没有剩余空间(告诉我们磁盘满了)du-sh/*查看哪个目录最大,一步一步的查找大文件我这里是跑了好多个tomcat实例,所以没做日志的处理,所以导致磁盘占满写一个定时删除前7天..
分类:
其他好文 时间:
2016-05-18 12:56:38
阅读次数:
1076
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note:A solution using O(n) space i ...
分类:
其他好文 时间:
2016-05-18 12:40:17
阅读次数:
253
原因:(1)确认是否是硬盘空间不足;结果发现不是空间的问题;(2)网上查看了下,发现是ipc不足。可以使用ipcs-s(|grepapache的group)处理:(1)可以使用$ipcrm-s<semid>清理指定semaphore(2)也可以使用下面命令,清理所有的semaphore,注:替换nobody为apache对应的用户..
分类:
其他好文 时间:
2016-05-17 19:51:39
阅读次数:
179
Given a sorted array, remove the duplicates in place such that each element appear only onceand return the new length.Do not allocate extra space for ...
分类:
其他好文 时间:
2016-05-17 09:44:53
阅读次数:
143
第一次到公司开发项目,比起之前的小项目来说这次的项目特别大,以至于运行之后出现了java.lang.OutOfMemoryError: PermGen space的异常,从字面意思上来看是内存溢出的原因,这里引用别人的博客 但是这几种方法在我这里都不行,于是自己捣鼓,终于找到解决方案,如下图所示 1 ...
分类:
编程语言 时间:
2016-05-17 00:41:44
阅读次数:
205
Fans who’ve been following Air Jordan’s earlier releases already know by what the company is after because of its Jordan releases 2016. One of these s ...
分类:
其他好文 时间:
2016-05-16 21:56:59
阅读次数:
172
第一题:Amount of degrees (ural 1057) 题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1057 第二题:windy数。 题目链接:http://www.lydsy.com/JudgeOnline/problem.php ...
分类:
其他好文 时间:
2016-05-16 20:06:27
阅读次数:
118
python简介 一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年发明,第一个公开发行版发行于1991年。 目前最新版本为3.5.1,发布于2015年12月07日。 语法简洁清晰,特色之一是强制用空白符(white space)作为语句缩进。 具有丰富和强大的库... ...
分类:
编程语言 时间:
2016-05-15 14:03:23
阅读次数:
352
1. ASCII 返回与指定的字符对应的十进制数; SQL> select ascii(A) A,ascii(a) a,ascii(0) zero,ascii( ) space from dual; A A ZERO SPACE 65 97 48 32 2. CHR 给出整数,返回对应的字符; SQ ...
分类:
数据库 时间:
2016-05-14 23:10:36
阅读次数:
392