View Single Post
Old Mar 27th, 2008, 9:55 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: Techniques For Overcoming Stack Overflow In DP

You could loop back - for each state, see if it's somewhere else in the tree and point back to that state if it is, stopping yourself from creating duplicate data.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote