Tag Archives: puzzle

Master Mind Solver

Knuth [1] describes Master Mind as follows In this game one player (the “codemaker”) conceals a four-symbol code, and the other player (the “codebreaker”) tries to identify all four symbols by trying appropriate test patterns. There are six symbols, represented … Continue reading

Posted in Algorithm, Software Puzzle | Tagged , | Leave a comment

“Water buckets” Problem

In Solving “Water buckets” Problem Using Scala  Biju Kunjummen presented a Scala program to solve this puzzle: You have a 12-gallon bucket, an 8-gallon bucket and a 5-gallon bucket. The 12-gallon bucket is full of water and the other two … Continue reading

Posted in Software Puzzle | Tagged , , | 2 Comments

TARGET Solver

What does a geek do during holidays? Write useless interesting applications of course. Today I was looking at the Target puzzle in the Sydney Morning Herald. The game is as follows. Consider the set of characters shown below: E A … Continue reading

Posted in Software Puzzle | Tagged , , | Leave a comment

“Serial Number”

Here is a puzzle that NPR broadcast in November 2010. What two world capitals can be found by rearranging the letters in the phrase “serial number.” Being the programmer I claim to be, I wanted to write a program that … Continue reading

Posted in Software Puzzle | Tagged , , | Leave a comment