Posted by Jason D. Burkert on August 05, 1999 at 13:16:02:
In Reply to: Re: Verification function posted by staleano on August 05, 1999 at 12:43:41:
: : A function to verify that the array is ordered could be most naturally written recursively, is that correct?
: I dont think so just go through the list making sure each element is less than the next otherwise false. Recursion doesnt help anything or make it easier
Yeah, you're right. I was able to do it with a while loop.