3 ms·
It doesn't work. Not just a coding issue either, as the code matches their explanation for this "improved" method.
by LVB 7y ago
It doesn't work. Not just a coding issue either, as the code matches their explanation for this "improved" method.
- pdonis 7y ago> It doesn't work. Yes, I confirmed that by pasting it into the REPL and verifying that it gives the wrong answer for a one-element list. Apparently the author failed to follow his own advice to always test code that you write.