Roger Hui wrote: > I guess the point of all this is that there is nothing > inherent about J that prevents the efficient > implementation of depth first search.
I am now much more of a believer. Even though they can be eliminated, operations like sorting the stack, or sorting a group of items that are about to be pushed are worth trying, in my experience. They are also uncharted territory, since you would be unlikely to do them in a language in which sorting is tedious to program. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
