摘要: 79. Word Search 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 ce 阅读全文
posted @ 2019-03-20 22:14 mingL 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 78. Subsets Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate sub 阅读全文
posted @ 2019-03-20 22:09 mingL 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 77. Combinations Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: 阅读全文
posted @ 2019-03-20 21:56 mingL 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 76. Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O( 阅读全文
posted @ 2019-03-20 21:49 mingL 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 75. Sort Colors Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the 阅读全文
posted @ 2019-03-20 21:39 mingL 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 74. Search a 2D Matrix Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers i 阅读全文
posted @ 2019-03-20 21:33 mingL 阅读(117) 评论(0) 推荐(0) 编辑