All Questions
2 questions
6
votes
1
answer
3k
views
Permutations of a list in Haskell
I have this piece of code which given a list returns another list which combines every element with every other element (without repetitions) using a given function as a combiner. I came up with three ...
2
votes
1
answer
374
views
Organizing matches between sports teams
How could I improve this algorithm? The goal is to organize matches between sport teams such that:
Each team affront each other
A minimum number of team should start a match after just finishing one
...