2001
DOI: 10.7146/brics.v8i39.21699
|View full text |Cite
|
Sign up to set email alerts
|

There and Back Again

Abstract: We illustrate a variety of programming problems that seemingly require two separate list traversals, but that can be efficiently solved in one recursive descent, without any other auxiliary storage but what can be expected from a control stack. The idea is to perform the second traversal when returning from the first. This programming technique yields new solutions to traditional problems. For example, given a list of length 2n or 2n + 1, where n is unknown, we can detect whether this list is a palindrome in n… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...

Citation Types

0
0
0

Publication Types

Select...

Relationship

0
0

Authors

Journals

citations
Cited by 0 publications
references
References 9 publications
0
0
0
Order By: Relevance

No citations

Set email alert for when this publication receives citations?