HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 11572 thumbnail
User 111696 avatar

By bloid
via blogs.msdn.com
Published: Jan 20 2007 / 17:33

A Joel On Software reader asked the other day for examples of recursive functions other than old chestnuts like Fibonacci or factorial. Excellent question. I suggested topological sort, of course, but there are plenty of other examples that are way better than the Fibonacci numbers. Why do I think Fibonacci is bad? Read on.
  • 13
  • 0
  • 1295
  • 0

Comments

Add your comment
User 107114 avatar

daniel replied ago:

0 votes Vote down Vote up Reply

The article seemed to stop a bit short. I was expecting another good half-an-article.

User 209881 avatar

pcx99 replied ago:

0 votes Vote down Vote up Reply

I always thought a binary tree was the best way to teach recursion, it's so easy to visualize node walking.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (13)



Voters Against This Link (0)