logoalt Hacker News

layer8last Friday at 2:10 PM0 repliesview on HN

You could save stack space by transforming it into a loop. It’s still only O(n)!