Skip to content

Monte-Carlo simulation for the "Kruskal Count" card trick

Notifications You must be signed in to change notification settings

jordancurve/kruskal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Kruskal Count simulator

Monte-Carlo simulator of the Kruskal Count card trick.

How to run:

go build kruskal.go
./kruskal -n 1000000000 # This takes about a minute on my machine.
P(success) = 854659035/1000000000 (0.854659035)

About

Monte-Carlo simulation for the "Kruskal Count" card trick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages