[Tutor] Homework Problem

Alan Gauld alan.gauld at btinternet.com
Sat May 29 10:44:29 CEST 2010


"Shawn Blazer" <shawnblazer94 at gmail.com> wrote

> This problem told me to use map and filter, so how would I use that 
> to  solve it?

Because its homework we won't solve it for you, we will only
answer questions or suggest approaches.

>From your earlier post it looks like you have all the tools:
recursion, map and filter.

Now what do you not understand? What have you tried?

FWIW
My tutorial covers map and filter in the "Functional Programming"
topic.

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list