Pregunta de entrevista de Capgemini

Simple java coding like pattern printing, finding second biggest number