an extra credit assignment for CS 240 at UMass
Swift
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CS240ExtraCredit.xcodeproj
CS240ExtraCredit
CS240ExtraCreditTests
README.md

README.md

PermutationProbabilityCalculator

an extra credit assignment for CS 240 at UMass

Build:

Clone the repository (or download the zip file) Open the Xcode project and click Run (or type cmd-r)

Instructions:

size of set(n): The number of items in each set. permutes: The number of random permutations of set n generated. tests: How many times the test is run.

When Permutation Test is clicked, it will run the number of tests specified and display the number of possible permutations, average number of collisions, and average probability that a collision does not occur.