>Hi George,
>
>>This problem doesn't require a recursive solution even though one could be implemented.
>
>I absolutely agree. It is better of with a non-recursive solution.
>
>>However, in some cases a recursive solution isn't only the best way, it's the only way.
>
>Some say that every recursive routine could be rewritten into a non recursive one. I really did not validate this statement, but I do know that some problems are much better handled recursively.
>
>It seems we are on the same line.
>
Walter,
Consider searching a b-tree. To me, a recursive search isn't only the best way, it's the only way. Could a non-recursive search be implemented? Probably, but I wouldn't want to maintain it.
George
Ubi caritas et amor, deus ibi est