Pregunta de entrevista de Zoho

Binary tree reverse, second largest in a array