given array that have 3 colored balls ..please sort them in min time
Réponse à la question d'entretien
Utilisateur anonyme
1 déc. 2022
you can use two pointers , one pointer for the start of the array and the other for the end of the array . sort two colors and the last will sorted alone .