HCLTech Interview Question

Find if number in array is prime or not