On topic: The Wednesday Challenge

Jonathan Stowe jns at gellyfish.com
Wed Aug 15 15:20:02 BST 2007


On Wed, 2007-08-15 at 15:01 +0100, Andy Armstrong wrote:
> Given a 64 Mbyte file containing random binary data write a perl  
> program such that
> 
> $ perl myprog.pl < 64m.bin > 64m.sorted.bin
> 
> outputs a file 64m.sorted.bin with all the bytes sorted in ascending  
> order. Marks will be given for speed, brevity and parsimonious use of  
> memory.
> 

I hardly think that is on-topic

/J\
-- 
Winners don't do de-tox


More information about the london.pm mailing list