combinatorics
Scheduling algorithm for a round-robin tournament?
I recently did studying stuff and meet up with Donald Knuth. But i didn\'t found the right algorithm to my problem.[详细]
2023-03-19 03:26 分类:问答Combinatorics or another approach? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-03-17 01:58 分类:问答How can I get pairs of values, where the first is taken from one list and the second from another list? [duplicate]
This question already has answers here: How to get the Cartesian product of multiple lists (18 answers)[详细]
2023-03-15 23:41 分类:问答Haskell: Cartesian product [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Cartesian product I\'m Haskell newbie and I have a problem. I want to do some function that will take first[详细]
2023-03-14 03:20 分类:问答Algorithm to get probability of reaching a goal
Okay, I\'m gonna be as detailed as possible here. Imagine the user goes through a set of \'options\' he can choose. Every time he chooses, he get, say, 4 different options. There are many more option[详细]
2023-03-13 23:02 分类:问答how to split calculation job evenly between clients
i got a bit of a problem. I\'ve got an input: \"/0-9/0-9/0-9/0-9\". in this case its 10^4 possibilities.[详细]
2023-03-13 17:48 分类:问答Count all subsets of an array where the largest number is the sum of the remaining numbers
I\'ve been struggling with level 3 of the Greplin challenge. For those not familiar, here is the problem:[详细]
2023-03-13 13:32 分类:问答Algorithm to calculate pairs from a class of n students for w weeks
I am searching for an algorithm to calculate pairs from a class of n (a list of student names) for w weeks, so that a student never coöperates with the same student in two different weeks. Assume tha[详细]
2023-03-13 10:17 分类:问答How to use Factoradic system to get or unrank the K-th permutations WITH repeated items
Yesterday I spent the entire day trying to solve a problem that wants me to get the k-th permutation or unrank a permutation.[详细]
2023-03-12 04:34 分类:问答Choosing a subset in uniformly random manner?
Question is: Write a method to randomly generate a set of m integers from an array of size n. E开发者_运维技巧ach[详细]
2023-03-10 22:34 分类:问答