Siemens Interview Question

sort array all the zeroes to right and everything else on left