自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 Git的 vim&vi 模式

git commit 不输入 -m 以及后面的内容会进入vim模式vi & vim 有两种工作模式:(1) 命令模式:接受、执行 vi & vim 操作命令的模式,打开文件后的默认模式;(2) 编辑模式:对打开的文件内容进行 增、删、改 操作的模式; 在编辑模式下按下 ESC 键,回退到命令模式。创建、打开文件:$ vi [filename](1)使用 vi 加 文件路径(或文件名...

2018-06-23 16:59:41 1583

原创 35. Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array.Exam...

2018-06-23 09:48:27 77

原创 27. Remove Element

Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extra space for another array, you must do this by modifying the input array ...

2018-06-23 09:25:18 70

转载 26. Remove Duplicates from Sorted Array

Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this by modifying...

2018-06-22 20:44:23 97

转载 单例模式的七种写法

看了一篇文章说到单例模式一共有七种写法,但自己还不完全懂,就百度了一下。第一种饿汉模式public class Singleton {        private static Singleton instance = new Singleton();        private Singleton(){        }       public static Singleton getIn...

2018-04-30 10:05:36 109

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除