Question d’entretien chez Nagarro

An array has 0s and 1s. Sort the array in O(n).