Hypergeometric distribution problems and solutions