Pregunta de entrevista de Persistent Systems

To write code for greatest number formed by digits in a given array.