上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 87 下一页
摘要: 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 丧心病狂工科女 阅读(117) 评论(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 丧心病狂工科女 阅读(180) 评论(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) 编辑
摘要: https://leetcode.com/problems/next-permutation/ Implement next permutation, which rearranges numbers into the lexicographically next greater permutati 阅读全文
posted @ 2018-11-23 19:54 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/multiply-strings/ Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and n 阅读全文
posted @ 2018-11-23 18:50 丧心病狂工科女 阅读(106) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/permutations-ii/ Given a collection of numbers that might contain duplicates, return all possible unique permutations. E 阅读全文
posted @ 2018-11-23 18:25 丧心病狂工科女 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/permutations/ Given a collection of distinct integers, return all possible permutations. Example: 代码: 全排列 $dfs$ 写就好的啦 第一 阅读全文
posted @ 2018-11-23 16:11 丧心病狂工科女 阅读(106) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ Given an array of integers nums sorted in ascending order, find 阅读全文
posted @ 2018-11-23 14:56 丧心病狂工科女 阅读(155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 87 下一页