We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Mathematics
- Fundamentals
- Is Fibo
- Discussions
Is Fibo
Is Fibo
Sort by
recency
|
384 Discussions
|
Please Login in order to post a comment
C++ solution. This instructs the compiler to precompute the first 50 Fibonacci numbers, enough to satisfy the constraints.
C# Solution
This is my Java 8 solution, feel free to ask me any questions.
Solution 1:
Solution 2:
If you're aware that the Fibonacci series grows even faster than exponentially, it's pretty simple to brute-force this one.