Ivanti Interview Question

They asked me to write code for dsa question Move Zeroes to End.