## Articles tagged Puzzles

- Binary search gets a sort key
- Fearless Debugging
- Complex numbers for planar geometry
- Cryptic Message
- Dr G’s Award Winning Puzzles
- Advent of Code 2017
- 24 Puzzles
- Python Streams vs Unix Pipes
- 8 Queens Puzzle++
- 8 Queens Puzzle
- Sausages, sausages, sausages - slice, slice, slice
- Reverse, Esrever
- Clown, Flee, Jump
- Patience Sorted
- Next permutation: When C++ gets it right. An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order.
- Favicon. Why my favicon is a jigsaw piece.
- Blackmail made easy using Python counters. A programming puzzle and a discussion of Python's evolution.
- Partitioning with Python
- Oulipo and the Eodermdrome challenge. The word EODERMDROME is itself an eodermdrome. Can you find any others?
- Ordered sublists. A brute force approach. A brute force solution to the longest increasing subsequence problem.
- A race within a race
- What’s in the box?
- A Little Teaser. Keen Eyes? You’ll See! Follow the clues to reveal the hidden message.
- Sums and sums of squares in C++. Reduce is a higher order function which applies a another function repeatedly to a collection of values, accumulating the result. Well known to functional programmers, reduce is also a standard C++ algorithm.
- Stop the clock, squash the bug. Which is better, a clock which loses a minute a day or one which is stopped? An investigation into how we find and fix software defects.
- Drawing Chessboards. An article about creating graphics programmatically.
- Sugar Pie. Approximating pi by scattering sugar.
- Animated pair streams. Another look at the functional programming problem of generating an infinite sequence of pairs. An example of using the Python Imaging Library to generate an animated GIF.
- The Maximum Sum contiguous subsequence problem. A stream-based solution to a classic computer science problem.
- Zippy triples served with Python. How do you generate previous, this, next, triples from a collection. A stream-based solution in Python.
- Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
- In, on and out of boxes
- Why Python programmers should learn Python
- Oberon, Cromarty, Lisa, Waggledance, Ariel
- Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
- The Lazy Builder’s Complexity Lesson. A discussion of algorithmic complexity, and a demonstration of how the C++ standard library allows programmers to write code which is both concise and efficient.
- Look and Say Numbers
- Polyominoes
- Friday Puzzles
- String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
- Generating solutions to the 8 Queens Puzzle