Tag: algorithms
Project Euler #298 – Solution
Omg, I finally solved this problem and gained access to Project Euler’s thread dedicated to its solutions. Apparently everybody came up with basically the same idea. The number of game states can be reduced to 438 (439 including the empty state). This way all 50 rounds can be simulated using […]
Project Euler #298
I’ve recently discovered Project Euler site – www.projecteuler.net and found one of its most recent puzzles quite a fun to solve 🙂 I mean project #298 – Selective Amnesia. It’s a cache hit/miss problem although formulated using different terms. Larry and Robin play a memory game involving a sequence of […]
Recent Comments