Part A of this problem was done in class only with different number of flips. It should be pretty easy to figure out from the notes.

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood