上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: 【题目】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... 阅读全文
posted @ 2015-05-06 09:30 hwu_harry 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 【题目】Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initi... 阅读全文
posted @ 2015-05-06 08:48 hwu_harry 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 【题目】Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4]... 阅读全文
posted @ 2015-05-05 20:50 hwu_harry 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 【题目】Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm shoul... 阅读全文
posted @ 2015-05-05 17:11 hwu_harry 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 【题目】Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints... 阅读全文
posted @ 2015-05-05 16:20 hwu_harry 阅读(93) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页