Create an array of numbers and sort them in ascending order.
EasyProblem Statement
Create an array of numbers and sort them in ascending order.
Sample Input
[5, 2, 9, 1, 5, 6]
Sample Output
[ 1, 2, 5, 5, 6, 9 ]
Limits
Time: 2s · Memory: 256 MB
Create an array of numbers and sort them in ascending order.
[5, 2, 9, 1, 5, 6]
[ 1, 2, 5, 5, 6, 9 ]
Time: 2s · Memory: 256 MB