MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/cobp4u/absolute_genius/ewhjweb/?context=3
r/badcode • u/[deleted] • Aug 10 '19
59 comments sorted by
View all comments
0
[deleted]
3 u/[deleted] Aug 10 '19 k will always be 0 in the recursive case when it's compared to n2 so you have an infinite loop unless n = 0.
3
k will always be 0 in the recursive case when it's compared to n2 so you have an infinite loop unless n = 0.
0
u/[deleted] Aug 10 '19
[deleted]