From: Peter Hickman Date: 2007-09-18T19:16:45+09:00 Subject: Re: Faster Alternatives for Recursion in Ruby -Assignment Ruby Newbie wrote: > I have the following assignment to be done.I have written the recursive > API Whats a "recursive API"? You are talking nonsense here. All you have done is write a recursive version and an iterative version of a function. An API is something entirely different. The first thing you need to do is time your code and prove that one is faster than the other, on my system they are practically identical.