Fastest algorithm to check if number is prime July 8, 2019 16 32 64 128 Fibonacci number leetcode javascript