Tag Archives: puzzle

Solution to puzzle: Zero rows and columns in an array in C#

This post gives four solutions to Puzzle: Zero rows and columns in an array in C#. If you want to try the puzzle for yourself, see that post before you read this one. This is a fairly long post, but … Continue reading

Posted in arrays, games | Tagged , , , , , , , , , | 3 Comments

Solve the equilateral triangles puzzle in C#

This post shows how to solve and display the solutions to the puzzle Puzzle: Find the equilateral triangles in C#. This example uses the following code to define the puzzle’s 25 solutions. // Define the solutions. Solutions = new List<int[]>(); … Continue reading

Posted in algorithms, games, graphics, mathematics | Tagged , , , , , , , , , , , , | 1 Comment

Puzzle: Find the equilateral triangles in C#

This is a puzzle that was a while back on National Public Radio (NPR). How many equilateral triangles can you make with corners on the points drawn by the program? For this blog, the puzzle has two parts. First see … Continue reading

Posted in algorithms, games, graphics, mathematics | Tagged , , , , , , , , , , , , | 2 Comments