上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: https://leetcode.com/problems/word-break/Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence o... 阅读全文
posted @ 2015-11-26 21:27 流白 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Given an integer arraynums, find the sum of the elements between indicesiandj(i≤j), inclusive.Theupdate(i, val)function modifiesnumsby updating the el... 阅读全文
posted @ 2015-11-20 11:13 流白 阅读(543) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/single-number/Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algor... 阅读全文
posted @ 2015-11-18 14:42 流白 阅读(165) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/add-and-search-word-data-structure-design/本题是在Trie树进行dfs+backtracking操作。Trie树模板代码见:http://www.cnblogs.com/fu11211129/p/4... 阅读全文
posted @ 2015-11-17 19:36 流白 阅读(227) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/multiply-strings/Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The nu... 阅读全文
posted @ 2015-11-17 14:39 流白 阅读(238) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/spiral-matrix/Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For examp... 阅读全文
posted @ 2015-11-17 12:48 流白 阅读(198) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/rotate-image/You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Cou... 阅读全文
posted @ 2015-11-16 15:13 流白 阅读(136) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/valid-sudoku/Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially... 阅读全文
posted @ 2015-11-14 14:46 流白 阅读(211) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest-increasing-subsequence/Given an unsorted array of integers, find the length of longest increasing subsequence.Fo... 阅读全文
posted @ 2015-11-13 14:23 流白 阅读(236) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/number-of-islands/Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounde... 阅读全文
posted @ 2015-11-13 14:01 流白 阅读(244) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页