Jump to content

Wikipedia talk:Algorithms on Wikipedia

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BenBaker (talk | contribs) at 23:32, 11 December 2001. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

I can appreciate the emphasis on iteration versus recursion, as recursion is not taught to some people.

I don't agree that iteration is always preferable. A recursive algorithm that searches a binary tree is simpler

to understand, requires less book-keeping in variables, and is in general, preferable when explaining to a neophyte.

I think there are an entire class of problems that are similar. --BenBaker