Oh, and you should make sure your solution generates code that is linear in the size of the input. Someone just sent me a solution that works, but I'm pretty sure is quadratic.
Shriram _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users