Articles tagged Puzzles

  1. Reverse, Esrever
  2. Clown, Flee, Jump
  3. Patience Sorted
  4. Next permutation: When C++ gets it right. An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order.
  5. Favicon. Why my favicon is a jigsaw piece.
  6. Blackmail made easy using Python counters. A programming puzzle and a discussion of Python's evolution.
  7. Partitioning with Python
  8. Oulipo and the Eodermdrome challenge. The word EODERMDROME is itself an eodermdrome. Can you find any others?
  9. Ordered sublists. A brute force approach. A brute force solution to the longest increasing subsequence problem.
  10. A race within a race
  11. What’s in the box?
  12. A Little Teaser. Keen Eyes? You’ll See! Follow the clues to reveal the hidden message.
  13. 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.
  14. 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.
  15. Drawing Chessboards. An article about creating graphics programmatically.
  16. Sugar Pie. Approximating pi by scattering sugar.
  17. 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.
  18. The Maximum Sum contiguous subsequence problem. A stream-based solution to a classic computer science problem.
  19. Zippy triples served with Python. How do you generate previous, this, next, triples from a collection. A stream-based solution in Python.
  20. Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
  21. In, on and out of boxes
  22. Why Python programmers should learn Python
  23. Oberon, Cromarty, Lisa, Waggledance, Ariel
  24. Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
  25. 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.
  26. Look and Say Numbers
  27. Polyominoes
  28. Friday Puzzles
  29. String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
  30. Generating solutions to the 8 Queens Puzzle