|
|
|
|
|
by jongraehl
5433 days ago
|
|
That's definitely the standard way to solve it. He did something unnecessarily clever (and no faster). The tail-recursive version of your loop would look about the same structurally as his bizarre change-of-variables solution. |
|