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
|
387 Discussions
|
Please Login in order to post a comment
here is my solution ! very time efficient without using lists
the problem is actually quite easy. the bigger problem is how to handle the time limit. that's where we needed the "cache". golang map is excellent in this
Golang :
C++ solution. This instructs the compiler to precompute the first 50 Fibonacci numbers, enough to satisfy the constraints.