Re: Translation from recursive to iterative
From: BQ (balulaz_at_libero_dot_it_at_libero.invalid)
Date: 03/23/05
- Next message: Keith Thompson: "Re: Pointers in methods??"
- Previous message: BQ: "Re: Translation from recursive to iterative"
- In reply to: Eric Sosman: "Re: Translation from recursive to iterative"
- Next in thread: CBFalconer: "Re: Translation from recursive to iterative"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Mar 2005 00:09:53 +0100
Eric Sosman wrote:
>
> If you're sure this is the algorithm you want to use,
> go ahead and implement it with an explicit stack of your own:
> a local array of start/end pairs plus an index indicating
> where the stack top is.
[CUT]
Eric, your post was very useful and teached my this new (new for me) use
of a stack. Thank you very much!!
Regards,
Marco
- Next message: Keith Thompson: "Re: Pointers in methods??"
- Previous message: BQ: "Re: Translation from recursive to iterative"
- In reply to: Eric Sosman: "Re: Translation from recursive to iterative"
- Next in thread: CBFalconer: "Re: Translation from recursive to iterative"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|