Input
  • V —— Set of all choices, a vector of N, 1 < N < 100
  • K —— Number of selected choices, a scalar, 0 <= K <= N
Output
  • C —— All combinations of V, equivalent to nchoosek(V, K)
Scoring
Time consumed

Solution Stats

129 Solutions

88 Solvers

Last Solution submitted on Dec 15, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers88

Suggested Problems

More from this Author8

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!