Programming Challenges: 110701 Light. More light

Today’s problem was Light. More Light, and I knew the naive solution would timed-out, and no surprise when it did.

I then looked to reduce the number of calculations, and that also timed-out.

The end solution was to see the bigger picture pattern, and just do a single simple calculation.