### Archives

- November 2014 (4)
- October 2014 (1)
- October 2013 (2)
- May 2012 (2)
- April 2012 (3)
- March 2012 (17)

# Tag Archives: algorithms

## Combinations Part 5 – (wrapping it up)

The original problem as posed by Eric Lippert was to write a function to produce all the combinations of k elements from a collection of n elements. So far I’ve ported the code to product all the combinations of k … Continue reading

## Combinations – Part 4 (combinations of booleans)

In this article we’ll implement the combinations function from Eric Lippert’s post. Here he implements a function that returns all the combinations of n booleans with k of them set to true. See part 3 of his series. Let’s implement … Continue reading