3 ms·
I wondered that too. My first thought was to build it up again from new conses, as you would in lisp. But then spotted a neat in-place way to do it too. Found
by mjw 16y ago
I wondered that too.
My first thought was to build it up again from new conses, as you would in lisp. But then spotted a neat in-place way to do it too.
Found I absolutely had to draw a few scribbly diagrams first though.