0
Write a Java program to move all 0's to the end of an array. Maintain the relative order of the other (non-zero) array elements.
send logic
2 Réponses
+ 1
You basically want a sorting algorithm like bubble sort, that is only sensitive for 0s
+ 1
Yes