0077. Combinations
https://leetcode.com/problems/combinations
Description
Given two integers n
and k
, return all possible combinations of k
numbers out of the range [1, n]
.
You may return the answer in any order.
Example 1:
Example 2:
Constraints:
1 <= n <= 20
1 <= k <= n
ac
Last updated