7 Replies
brute force -> figure out the formula -> O(1)
I forgot to add that I also need to return the number of eliminated opponents in each round.
brute force -> figure out the formulas -> O(1)
I don't think that there is a formula for that
you might be surprised /shrug
this kinda reminds me of https://en.m.wikipedia.org/wiki/Poisson_binomial_distribution
Poisson binomial distribution
In probability theory and statistics, the Poisson binomial distribution is the discrete probability distribution of a sum of independent Bernoulli trials that are not necessarily identically distributed. The concept is named after Siméon Denis Poisson.
In other words, it is the probability distribution of the
number of successes in a collectio...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.