摘要:
Link: https://leetcode.com/problems/combinations/ Constraint: 1 <= n <= 20 1 <= k <= n ==> k is always valid Idea Initialize an structure to keep trac 阅读全文
posted @ 2021-08-06 23:10
blackraven25
阅读(81)
评论(0)
推荐(0)
摘要:
Link: https://leetcode.com/problems/permutations-ii/ Constraint: Arrays may not be sorted May contain duplicate Return order is arbitrary Idea The dif 阅读全文
posted @ 2021-08-06 18:33
blackraven25
阅读(35)
评论(0)
推荐(0)
摘要:
Constraint: 1 <= nums.length <= 6 -10 <= nums[i] <= 10 All the integers of nums are unique. Idea Search: if the size of permutation set is eaual to ar 阅读全文
posted @ 2021-08-06 00:21
blackraven25
阅读(62)
评论(0)
推荐(0)
浙公网安备 33010602011771号