Pregunta de entrevista de Times Internet

Array including zeroes.. separate the eroes from it