in reply to move all 0s in an array to the beginning keeping other elements order same
My first instinct there would be to:
I don't know whether that's a particularly efficient solution.