how to solve memory
gordon at panix.com
Fri Jun 10 12:26:40 EDT 2016
In <8a1c372e-bd6c-4923-8ae1-8f129ec749e4 at googlegroups.com> meInvent bbird <jobmattcon at gmail.com> writes:
> > I already responded to your earlier post about this program. Did you
> > read it?
> sorry i missed your reply post,
> i find post by me and search your name, no this name
> is your name changed in previous post?
My comment was that the recursive calls weren't indented in the
"if deep > 0" block, therefore DFS was being called infinitely with smaller
and smaller values of deep. But it appears you have fixed that issue.
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list