77. Combinations
Difficulty: Medium
Given two integers n and k, return all possible combinations of k numbers out of 1 … n.
Example:
1 | Input: n = 4, k = 2 |
Solution
Language: Java
1 | class Solution { |
1 | class Solution { |
Difficulty: Medium
Given two integers n and k, return all possible combinations of k numbers out of 1 … n.
Example:
1 | Input: n = 4, k = 2 |
Language: Java
1 | class Solution { |
1 | class Solution { |