4 ms·
> On the other hand, if you don't allow it, you don't lose anything. You can write the algorithm in another way, and it would be just as fast and easier to reas
by cbd1984 11y ago
> On the other hand, if you don't allow it, you don't lose anything. You can write the algorithm in another way, and it would be just as fast and easier to reason about.
This is where we differ, then: Some algorithms are more natural to write recursively. Sorting is a big example.