Viasat Interview Question

Determine if a given number is prime.