Puzzles are an excellent way to develop your problem solving skills and have fun at the same time. The Tangram Puzzle is a classic puzzle from China which involves rearranging 7 pieces...
Here’s a fun little puzzle for you, which lends itself well to a Python coding solution. Find a two-digit positive integer that becomes 7 times smaller when its leftmost digit is removed....
The Collatz Conjecture is an unsolved problem in Mathematics which lends itself nicely to exploration with Python. The idea is simple: Pick a positive whole number. If it’s odd, multiply it by...
In this post we are going to explore conditional probability with Python. Here’s a fun and potentially tricksome question about probabilities: In a family with two children, what is the probability that,...
Here’s a fun puzzle for you, which I have implemented online using the fantastic p5.js library for creative coding. The goal is to place as many coins on the board as possible...
Divide and Conquer is a very powerful technique for solving computational problems. In the last article in this series, we looked at decrease and conquer, which is included by some authors under...
This article is about computational thinking. Before we dive in though, check out this puzzle: The Ferrying Soldiers Puzzle A troop of 20 soldiers must cross a river with with no bridge....