Marks :100
: 1 | : 0
You are given N shelves ranging from 0 to n-1 name shelve ($$$shelve_i ,shelve_{i+1}.....shelve{n-1}$$$).
Range of shelves from 1 to 99 inclusive. Given them to the minimum value possible and return the array in the same order through
The first line of each test case contains a single integer N ($$$1 \le N \le 1e5 $$$).
The next line contains the N integers separated by the space name shelve ($$$1 \le shelve_i \le 99$$$)
For each test case print the array of integers that is the reshelve them to the minimum value possible
4 1 12 4 12
1 3 2 3
4 1 2 6 5
1 2 4 3
You need to login to view your submissions.
You need to login to view all submissions.
Result : Executed
Feel something is wrong with the test cases?
Result : Accepted
Test Cases :
But to Run or Submit the Problem, you need to Log In.
Continue to Log InYour challenge has been submitted successfully.
You will get a response soon via WhatsApp or Email.
Do let us know your issue.