摘要: https://leetcode.com/problems/subsets-ii/ Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power s 阅读全文
posted @ 2018-11-24 23:42 丧心病狂工科女 阅读(97) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/plus-one/ Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are 阅读全文
posted @ 2018-11-24 22:59 丧心病狂工科女 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/permutation-sequence/ The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of t 阅读全文
posted @ 2018-11-24 19:30 丧心病狂工科女 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/minimum-path-sum/ Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which m 阅读全文
posted @ 2018-11-24 18:26 丧心病狂工科女 阅读(113) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/search-a-2d-matrix/ Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the follo 阅读全文
posted @ 2018-11-24 15:00 丧心病狂工科女 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/jump-game/ Given an array of non-negative integers, you are initially positioned at the first index of the array. Each e 阅读全文
posted @ 2018-11-24 14:30 丧心病狂工科女 阅读(182) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/n-queens-ii/ The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack 阅读全文
posted @ 2018-11-24 13:57 丧心病狂工科女 阅读(115) 评论(0) 推荐(0) 编辑