Figured out how to generate a list of all k-element combinations from a set of n elements using double recursion. Apparently, the solution I developed is the “classical” way to do it, but it was challenging nevertheless.
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.