Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 925181 thumbnail
User 355617 avatar

By piccoloprincipe
via michaelfeathers.typepad.com
Submitted: Feb 17 2013 / 07:03

Trees are wonderful data structures, but traversing them can often be a pain.  You can use recursion, as you long as you are confident that you won't overflow your stack.  But, if you want to do anything non trivial when you've found the nodes you care about, it can be hard to keep that work separate from the traversal code.
  • 1
  • 0
  • 44
  • 23

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 (1)



Voters Against This Link (0)