After determining which colors are present in the hidden


Question: 1. After determining which colors are present in the hidden peg sequence, we know that there are at least two colors not present (because there are six possible colors and only four positions for pegs). Let C be a color that is present in the sequence, and let N be one of the colors that is not present. What information is gained from the guesses CNNN, NCNN, NNCN, and NNNC?

2. Using the ideas developed in the previous two questions, write an algorithm that takes no more than 11 guesses.

Solution Preview :

Prepared by a verified Expert
Mathematics: After determining which colors are present in the hidden
Reference No:- TGS02380413

Now Priced at $10 (50% Discount)

Recommended (91%)

Rated (4.3/5)