Archives for Thursday, January 14, 2016

January 2016 (9)
SMTWTFS
« Dec Feb »
12
3456789
10111213141516
17181920212223
24252627282930
31

Like this Archive Calendar widget? Download it here.


Revisiting Heap’s Algorithm in JavaScript

Back in March last year I presented an implementation of Heap’s Algorithm – an algorithm devised to generate all permutations of a set of items – in JavaScript. The article was interesting to write because in doing so I had found a bug in the pseudo-code on the Wikipedia page for the algorithm, which led to a discussion with the main editor for the page on how to make it better. […]

READ MORE