problem in 67 Fibonacci Sequence

Back to General discussions forum

saurabh_asthana     2018-07-12 20:17:51

my program is run upto range of double. i.e. position 81 and number is 37889062373143906. But input is too large so how to manage the program... please solve this problem.

saurabh_asthana     2018-07-12 20:25:25

I doing program in java.

Quandray     2018-07-13 06:08:15
User avatar

Some people who solved this with java used BigInteger. However, it can be solved without using that; just think how you'd do it using paper and pencil.

Please login and solve 5 problems to be able to post at forum