Fast Enterprises Interview Question

Writing a function to determine if a number is prime