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-05-28 11:28:36
阅读次数:
141
语法: JSON.stringify(value [, replacer] [, space]) value:是必选字段。就是你输入的对象,比如数组,类等。 replacer:这个是可选的。它又分为2种方式,一种是数组,第二种是方法。 情况一:replacer为数组时,通过后面的实验可以知道,它是和 ...
分类:
Web程序 时间:
2016-05-27 16:27:33
阅读次数:
262
不使用jQueryjs,用css控制字符串显示的长度没有控制之前的效果控制之后CSS代码style="width:550px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"注意控制文章或者标题所在div的长度。
分类:
Web程序 时间:
2016-05-27 15:03:49
阅读次数:
209
一天一道LeetCode系列(一)题目
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 does not exist, return...
分类:
其他好文 时间:
2016-05-27 12:56:30
阅读次数:
144
Eclipse常用快捷键 1几个最重要的快捷键 代码助手:Ctrl+Space(简体中文操作系统是Alt+/)快速修正:Ctrl+1单词补全:Alt+/打开外部Java文档:Shift+F2显示搜索对话框:Ctrl+H快速Outline:Ctrl+O打开资源:Ctrl+Shift+R打开类型:Ctr ...
分类:
其他好文 时间:
2016-05-27 10:48:22
阅读次数:
305
python简介 一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年发明,第一个公开发行版发行于1991年。 目前最新版本为3.5.1,发布于2015年12月07日。 语法简洁清晰,特色之一是强制用空白符(white space)作为语句缩进。 具有丰富和强大的库... ...
分类:
编程语言 时间:
2016-05-27 00:33:14
阅读次数:
216
一天一道LeetCode(一)题目
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 is marked as 1 and 0...
分类:
其他好文 时间:
2016-05-26 10:28:40
阅读次数:
121
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2016-05-25 22:26:36
阅读次数:
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-05-25 22:11:41
阅读次数:
138
Git新建仓库时报:Win32 error 487: Couldn't reserve space for cygwin's heap, Win32 error 0解决方法:1、进入本地Git安装目录下的bin目录,比如我的是: C:\Users\zhangwwa\AppData\Local\Atl... ...