## Articles tagged Algorithms

- Patience Sorted
- Singly Linked Lists in C++
- Two star programming
- Life goes on
- Life on Canvas
- Equality and Equivalence
- Binary search revisited
- Binary search returns … ?
- Next permutation: When C++ gets it right. An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order.
- Partitioning with Python
- Patience sort and the Longest increasing subsequence. How a simple card game provides an efficient algorithm for finding the longest increasing subsequence of a given sequence.
- Longest common subsequence. An investigation into the classic computer science problem of calculating the longest common subsequence of two sequences, and its relationship to the edit distance and longest increasing subsequence problems.
- Maximum of an empty sequence?
- Running Sums in Python. A Python program to generate the running sum of a series.
- Takewhile drops one
- Sugar Pie. Approximating pi by scattering sugar.
- Top Ten Percent. The most efficient way to sort the top 10% of a collection.
- Top Ten Tags. Choosing the right algorithm to select the N largest items from a collection.
- 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.
- Elegance and Efficiency. Must elegant code be efficient? This article investigates.
- Space sensitive programming
- Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
- Look and Say Numbers