题目:Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "ad....
分类:
编程语言 时间:
2014-08-01 02:20:41
阅读次数:
236
Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the ...
分类:
其他好文 时间:
2014-07-31 23:46:00
阅读次数:
256
Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.算法思路:思路:貌似木有什么捷径,逐个比较,遇到不同即断开。代码如下: 1 publi...
分类:
其他好文 时间:
2014-07-31 23:31:50
阅读次数:
231
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:
其他好文 时间:
2014-07-31 23:19:10
阅读次数:
259
Path Sum IIGiven a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tr...
分类:
其他好文 时间:
2014-07-31 23:17:10
阅读次数:
175
Problem Description:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they...
分类:
其他好文 时间:
2014-07-31 20:48:17
阅读次数:
215
.find('classname')//在里面找类名为——的元素.eq(i)//元素的第i个.parent()//父元素.child()//子元素$.each(element,function(i,val){});//遍历元素中的每个并且添加操作.removeClass('className')/....
分类:
Web程序 时间:
2014-07-31 20:17:17
阅读次数:
232
1、 mkdir /soft (创建一个目录,用于存放安装软件) 2、 cd /soft (切换到soft目录)3、 rz(从windows中选择安装包)4、rmp -ivh jdk-7u45-linux-x64.rpm (安装JDK)5、find / -name 'jdk'6、vi /e...
分类:
系统相关 时间:
2014-07-31 20:13:27
阅读次数:
327
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more th...
分类:
其他好文 时间:
2014-07-31 17:16:57
阅读次数:
221
Dungeon Master
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 16437
Accepted: 6386
Description
You are trapped in a 3D dungeon and need to find the quicke...
分类:
其他好文 时间:
2014-07-31 13:26:56
阅读次数:
352