Posted: Thu Jul 05, 2012 7:01 pm Post subject: A Coin Game (Senior CCC 2012)
I was retrying my past contests and doing the questions i couldnt. this is a solution to s4 for 2012, pretty fast as well. I
use an interesting version of bfs where i keep all the nodes of each depth in a list (irregardless of parents) and use recursion as well.
Attached is .java.
coinGame.java
Description:
Changed some package/class declarations as i created this in eclipse.