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.
Fibonacci Modified
Fibonacci Modified
Sort by
recency
|
725 Discussions
|
Please Login in order to post a comment
having to change the printout length because the template assumes string conversion is just cumbersome, the template for python isn't that great
Here is my Python solution!
Java:
For the solution in java, the method definition should be modified to BigInteger, else it won't work for big numbers.