Combinations

Solution Code

Time Complexity

O(k C(n, k)

Space Complexity

O(k)