Saturday, April 18, 2015

HackerRank::Algorithms::Warmup::Is Fibo

  80th Fibonacci numbers is much bigger than 10^10 which means even by looping over all the possible numbers for checking whether the given number is a Fibonacci number or not will take something like 10^5 * 80 which is enough for getting AC.


No comments:

Post a Comment