# data[].attributes.body
The Monty Hall Problem

# data[].attributes.body
Libraries

java.util.ArrayList

java.util.Random

Field Variables

doors Type: ArrayList<>

Random ran

Constructor

To be provided

Methods
public int setUp()

public int getContestantChoice()

public int findAlternativeDoor(int)

public boolean playGame(boolean isStick)

public void simulate(int numRuns)

Annotation
@author

@version

@parameter

@return

# data[].attributes.body
Libraries

java.util. + appropriate library components

Field Variables

public anagrams Type: TreeMap<String, TreeSet<String>>

Constructor

To be provided

Methods
public void populate()

public void print()

public boolean areAnagrams(String aWord, String anotherWord)

public void addAnagram(String aWord, String anAnagram)

public void crossReference()

Annotation
@author

@version

@parameter

@return

# data[].attributes.body
Class Variable

Access keyword keyword Type COUNT = 10;

Field Variables

public pellNums Type: int array

Constructor

To be provided to dimension the pellNums array

Methods
public void populatePellNums()

public double estimateRoot2(int n)

public void showConvergence()

public int findLength(double aPrecision)

Annotation
@author

@version

@parameter

@return