I don't have a solution, but I'm curious: Is it possible to solve Quiz #2 in a purely functional way, without a temporary "stack" variable? -Stuart
On 9472 day of my life Stuart Sierra wrote:
I don't have a solution, but I'm curious: Is it possible to solve Quiz #2 in a purely functional way, without a temporary "stack" variable? -Stuart
Use temporary "accumulator" variable :)