Join Slack
Powered by
Ah, you could fold with Stack<String>() as t...
# codereview
d
dalexander
01/09/2018, 2:16 PM
Ah, you could fold with Stack<String>() as the base case? I’m not sure that it’s any clearer, and some of the code would have to be shuffled around to return the current stack from each iteration.
3
Views
Open in Slack
Previous
Next