On Thu, Sep 9, 2010 at 4:35 AM, Scott Hickey <jscotthic...@gmail.com> wrote: > I was helping my son with his math homework tonight, working with > medians and wrote the following below. As I was looking at it, I was > wondering: ...
I think this is great code -- very clear. For production use you have the wrong data structure (Lists are O(n) random access and length; you want O(1) vectors), but that doesn't matter for your use. Cheers, N. _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users