Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Wordfeud racks

by RichardK (Parson)
on Jul 30, 2013 at 15:31 UTC ( #1047058=note: print w/replies, xml ) Need Help??


in reply to Wordfeud racks

How many tiles are in the bag?

for example, if it's only 100 then you're going to have to create 80,678,106,432,000 unique combinations - which might take a while :)

Replies are listed 'Best First'.
Re^2: Wordfeud racks
by choroba (Chancellor) on Jul 30, 2013 at 17:02 UTC

      Sorry, I meant permutations, so there a N!/(N-K)! ways to select K tiles from a bag of N.

      Or for 7 of 100 tiles = 100*99*98*97*96*95*94 permutations.

      I think it will be easier to calculate the probabilities of the different combinations rather than count them, but it's still going to be a fair amount of work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047058]
help
Chatterbox?
[jdporter]: I for one think it's kind of ridiculous that people can't ask - here - other people for help just because it involves monetary compensation.
[jdporter]: I think the test for whether to push it to jobs.perl.com should be strict: (a) you're looking for employment, or (b) you're looking to hire an employee or contractor.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2017-03-23 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (278 votes). Check out past polls.