...

/

Challenge 1: Gathering Zeros to the Start

Challenge 1: Gathering Zeros to the Start

In this challenge, you'll implement the solution to gather all the zeros stored in an ArrayList to the starting indices.

Problem statement

In this problem, you have to implement the zerosToStart() function which will sort the elements of an Integer ArrayList such that ...