In the text, we assign the number of the flips as the weight for each move. Assuming

Question:

In the text, we assign the number of the flips as the weight for each move. Assuming that the weight is three times of the number of flips, revise the program.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: