Daffodil Software interview question

coding questions on patterns, second largest prime number from a given array.