Pregunta de entrevista de HPC Sphere

1.find first prime number in array? 2.second largest element in array?