Archive for Computer Science

Solving Modified Fibonacci Challenge

The challenge involves solving a modified version of the Fibonacci series, as explained on the project page: https://www.hackerrank.com/challenges/fibonacci-modified

My submission was as follows:

Use BigIntegers, number can grow really quickly!