HF RL Explorer

Task: Implement Combinations Algorithm in C++

Task: Implement Combinations Algorithm in C++: a task in Terminal-Lego-15k (Harbor dataset). Given two integers n and k , implement an algorithm that returns all possible combinations of k numbers chosen from the range 1 to n (inclusive).

The task

Given two integers `n` and `k`, implement an algorithm that returns all possible combinations of `k` numbers chosen from the range `1` to `n` (inclusive).

Part of PrimeIntellect/Terminal-Lego-15k.