Pregunta de entrevista de Pratham Software

Coding question- Sum of prime numbers present in an array.