Pregunta de entrevista de Geekyants Software

I had to form valdation in react Digital Clock in vanilla JS second largest number in array