ZerosToTheEnd

Regarding our section which is Problems needs to be solved

This is a problem which gives you an array and requires you to take all the zeros from the array and set them at the end of it and to keep the sequence of the array.

Examples

Given => [6, 8, 2, 3, 4, 1, 0, 0, 0]

Output => [6, 8, 2, 3, 4, 1, 0, 0, 0]

Given => [0,7,1,6,3,0,2,5,9,0]

Output => [7, 1, 6, 3, 2, 5, 9, 0, 0, 0]