Posted by Rick on the 11th of October, 2008 at 11:49 am under ublog.    This post has Comments.

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.