The input consists of two lines-
- The first line contains a single integer N
- The second lines contains N space separated integers which are required to be sorted
N space separated integers sorted in non-decreasing order
5
5 2 4 3 1
1 2 3 4 5
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
The input consists of two lines-
N space separated integers sorted in non-decreasing order
5
5 2 4 3 1
1 2 3 4 5