Notifications
Clear all

What is Recursion?

1 Posts
2 Users
0 Likes
220 Views
0
Topic starter

What is Recursion?

1 Answer
0

Recursion means “defining a problem in terms of itself“. This can be a very powerful tool in writing algorithms. Recursion comes directly from Mathematics, where there are many examples of expressions written in terms of themselves. For example, the Fibonacci sequence is defined as: F(i) = F(i-1) + F(i-2)

Share: