Pregunta de entrevista de Coresonant Systems

react mappinf method and second largest number