Get your own website
Python
C
Java
 
Python result:
C result:
Java result:
Sorted array: [1, 2, 2, 2, 3, 3, 3, 4, 5, 6, 6]
Sorted array: 1 2 2 2 3 3 3 4 5 6 6
Sorted array: 1 2 2 2 3 3 3 4 5 6 6