Greg Bacon <[EMAIL PROTECTED]> wrote: > You have a finite sequence of unknown length, where each > element in the sequence is a string. Output the middle > element of the sequence (for a reasonable definition of > middle), traversing the sequence at most once and without > storing the elements in an array.
Okay, you've clarified what the input is like. Now we need clarification of what "without storing the elements in an array" means. Does "the elements" mean "all the elements" or "any elements"? Does "an array" mean you can store whatever elements you want, as long as you don't use a Perl array to do it? -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC
