
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 { |
1 |
class { |

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 { |
1 |
class { |
近期评论