in reply to Re: Recursion Alternatives?
in thread Recursion Alternatives?

Is there any particular significance to your choice of $f, $s and @r as variable names? They don't seem to match up with the classic left, right and temp in either english or dutch?


..and remember there are a lot of things monks are supposed to be but lazy is not one of them

Examine what is said, not who speaks.
1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
3) Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke.

Replies are listed 'Best First'.
Re: Recursion Alternatives?
by Abigail-II (Bishop) on Feb 27, 2003 at 11:08 UTC
    first, second, result.

    Abigail

      I just updated my post, but you may not see it, you have an extraneous ']' in the merge_sort sub.


      ..and remember there are a lot of things monks are supposed to be but lazy is not one of them

      Examine what is said, not who speaks.
      1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
      2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
      3) Any sufficiently advanced technology is indistinguishable from magic.
      Arthur C. Clarke.
        No, there was a [ missing in the second line. I must have missed that when typing over the code (the code was written and tested on my laptop, which isn't allowed to be plugged in the network here, and I didn't want to bother with the floppy option, hence I had to type it over instead of using cut-and-paste).

        Abigail