Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha ...
分类:
其他好文 时间:
2016-09-16 22:43:17
阅读次数:
123
public abstract class PartBase : Space { #region 基本属性 /// <summary> /// 是否复合板 /// </summary> public bool IsCladPart { get; set; } /// <summary> /// 基层 ...
分类:
其他好文 时间:
2016-09-16 10:12:41
阅读次数:
172
堆内存设置 原理 JVM堆内存分为2块:Permanent Space 和 Heap Space。 Permanent 即 持久代(Permanent Generation),主要存放的是Java类定义信息,与垃圾收集器要收集的Java对象关系不大。 Heap = { Old + NEW = {Ed ...
分类:
其他好文 时间:
2016-09-15 17:53:11
阅读次数:
196
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For ...
分类:
其他好文 时间:
2016-09-15 06:26:51
阅读次数:
162
1.Linux内核简介 1.1.Linux系统如何构成 内核空间(Kernel Space)+用户空间(User Space) 用户空间 = 用户程序 + C语言库(例如:GNC C Library) 内核空间 = Kernel + 系统调用接口(System Call Interface) + 体 ...
分类:
系统相关 时间:
2016-09-14 23:24:03
阅读次数:
238
本周作业内容:1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;[root@localhost~]#cp/etc/rc.d/rc.sysinit/tmp/#复制文件
[root@localhost~]#vim/tmp/rc.sysinit#编辑文件
:%s/^[[:space:]]/#&/#末行模式下查..
分类:
编程语言 时间:
2016-09-14 17:18:09
阅读次数:
236
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;cp/etc/rc.d/rc.sysinit/tmp/vi/tmp/rc.sysinit在末行模式下输入:%s/^[[:space:]]/#&/按Enter即可:wq保存退出2、复制/boot/grub/grub.conf至/tmp目录中,删除..
分类:
其他好文 时间:
2016-09-14 17:15:12
阅读次数:
142
一般页面头部的导航用<ul><li></li></ul>,分隔符用图片 对于要在同一水平线的搜索框和搜索栏,可以加上属性vertical-align:middle 标题过长实现自动出现省略号:ul li p{ white-space: nowrap; text-overflow: ellipsis; ...
分类:
其他好文 时间:
2016-09-14 16:32:39
阅读次数:
112
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space ...
分类:
其他好文 时间:
2016-09-14 12:47:50
阅读次数:
116
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 last word ...
分类:
其他好文 时间:
2016-09-14 12:45:55
阅读次数:
144