Project Euler #191: Prize Strings

  • + 0 comments

    This was by no means an easy problem. The most challenging part is to get proper recurrence relation. Solution should also be O(N * L).