Tuesday, June 4, 2013

project euler problem 209

Circular Logic

This problem is relatively simple.  The keyword is circular.  We just need  to find how many elements are in the same circle. Then we just need to find the number of different configurations that satisfy the condition. It is a simple dynamic programming problem. 

No comments:

Post a Comment