Module: Dynamic arrays: vector


Problem

8/8

Vector sort

Problem

Sort the array in non-decreasing order of elements. To do this, you need to set the correct values ​​for the variables a and b.

Enter Output
6
-1 5 1 3 7 6
-1 1 3 5 6 7

(c) Grigoriev E., 2018