Pergunta de entrevista da empresa Dell Technologies

Arrange array such that all 0s are at the rear of the array.