Fast Enterprises Interview Question

Create psuedocode that detects if a given integer is a prime number