I want print statements to always produce output that is indented with respect to recursion depth.
-
-
Replying to @BrandonBloom
Good for small outputs. What about large outputs?
1 reply 0 retweets 0 likes -
-
Replying to @BrandonBloom
You'll get O(n^2) output. And your IDE trying to parse it may make that even bigger.
1 reply 0 retweets 0 likes -
Replying to @Ngnghm
Wouldn't it be O(N*M) where N is the size of the output I'd already have gotten and M is the recursion depth? Still linear. I don't understand what problem you're seeing.
1 reply 0 retweets 0 likes
Replying to @BrandonBloom
💻 🐴Ngnghm Retweeted Alexis King
💻 🐴Ngnghm added,
9:01 AM - 11 Nov 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!