上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 40 下一页
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Given a 2D binary matrix filled with 阅读全文
posted @ 2016-09-07 09:19 amazingzoe 阅读(142) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2016-09-06 10:40 amazingzoe 阅读(118) 评论(0) 推荐(0)
摘要: Given a list, each element in the list can be a list or integer. flatten it into a simply list with integers. Notice If the element in the given list 阅读全文
posted @ 2016-09-06 04:53 amazingzoe 阅读(209) 评论(0) 推荐(0)
摘要: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. Notice Bonus point if you 阅读全文
posted @ 2016-09-04 06:58 amazingzoe 阅读(135) 评论(0) 推荐(0)
摘要: There is a fence with n posts, each post can be painted with one of the k colors.You have to paint all the posts such that no more than two adjacent f 阅读全文
posted @ 2016-09-04 06:57 amazingzoe 阅读(162) 评论(0) 推荐(0)
摘要: Give an integer array,find the longest increasing continuous subsequence in this array. An increasing continuous subsequence: Can be from right to lef 阅读全文
posted @ 2016-09-03 23:50 amazingzoe 阅读(110) 评论(0) 推荐(0)
摘要: Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't one, return 阅读全文
posted @ 2016-08-30 03:46 amazingzoe 阅读(153) 评论(0) 推荐(0)
摘要: Given a digit string excluded 01, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on 阅读全文
posted @ 2016-08-29 09:57 amazingzoe 阅读(140) 评论(0) 推荐(0)
摘要: Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges mak 阅读全文
posted @ 2016-08-29 09:15 amazingzoe 阅读(159) 评论(0) 推荐(0)
摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. How we serialize an undirected graph: Nodes are labele 阅读全文
posted @ 2016-08-29 07:38 amazingzoe 阅读(97) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 40 下一页