See More
vector
Solution::wave(vector
&A) { sort(A.begin(),A.end()); for(int i=0;i