r/computer_programming • • Feb 08 '18

Need help understanding what this recursive algorithm does.

Post image
0 Upvotes

4 comments sorted by

View all comments

Show parent comment

3

u/Heffree Feb 08 '18

Just because it involves factorials doesn't mean it's recursive. This is a non-recursive implementation of factorials.