5 people like it.
Like the snippet!
Normally, when we implement Fibonacci sequence, we use recursive function, but it will encounter the overflow exception with the big data. Below is the Fibonacci snippet with continuation, and in this way, it won't encounter the overflow exception.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
|Posted:||6 years ago|
|Tags:||fibonacci , continuation|