Articles tagged Puzzles

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