码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
Sort List -- LeetCode
Sort a linked list in O(n log n) time using constant space complexity. 思路:模拟merge sort。 ...
分类:其他好文   时间:2016-09-01 12:28:20    阅读次数:127
获取网卡信息
获取网卡信息获取网卡名:#ifconfig|grep-o"^[^[:space:]]\{1,\}"获取eth0的ip地址:#ifconfigeth0|grep-o"inetaddr:[0-9\.]\{1,\}"|cut-d:-f2红帽7上的方法#ifconfigeth0|grep-o"inet[0-9\.]\{1,\}"|cut-d‘‘-f2不同的系统ifconfig得到的信息不同修改grep的内容来准确获取获取..
分类:其他好文   时间:2016-09-01 00:21:40    阅读次数:154
LeetCode-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. Hi ...
分类:其他好文   时间:2016-08-31 07:05:58    阅读次数:108
Inode占满导致No space left on device解决
线上有一台web服务器磁盘检测告警了,提示空间不足,登到服务器查看touch:cannottouch`furm.html‘:Nospaceleftondevice使用df-h命令查看发现/data/web分区只使用了2%,创建文件却提示磁盘空间不足,按道理不会出现这种情况的。怀疑是inode耗尽导致。分析导致的原因:使用df–i?.
分类:其他好文   时间:2016-08-30 22:51:37    阅读次数:2961
[转载]linux-sed
留作以后查看用 原文链接:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856901.html 简介 sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接 ...
分类:系统相关   时间:2016-08-30 12:16:38    阅读次数:239
[LeetCode] NO. 27 Remove Element
[题目] Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, ...
分类:其他好文   时间:2016-08-29 12:52:33    阅读次数:140
Martian Mining_DP&&DFS
Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 2567 Accepted: 1595 Description The NASA Space Center, Houston, is less than 200 miles from ...
分类:其他好文   时间:2016-08-28 22:32:53    阅读次数:251
Qt Creator Valgrind内存分析前端(分析Nginx内存)
Linux上使用Qt Creator进行C/C++开发http://my.oschina.net/eechen/blog/166969Qt Creator GDB调试前端(调试Nginx):http://static.oschina.net/uploads/space/2014/0217/02514 ...
分类:其他好文   时间:2016-08-27 15:16:46    阅读次数:256
十大开源游戏引擎深入比较(转)
在国内外,业界盛传有十大开源游戏引擎,分别是OGRE、Irrlicht、Panda3D、Crystal Space、jME、Blender Game Engine、Reality Factory、The Nebula Device 2、RealmForge、OpenScene- Graph。我们对这 ...
分类:其他好文   时间:2016-08-27 12:43:11    阅读次数:399
58. Length of Last Word
1. 问题描述 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the la ...
分类:其他好文   时间:2016-08-27 00:22:16    阅读次数:159
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!