class Solution { public: int heightChecker(vector& heights) { int count = 0; int size = heights.size(); vector expected(heights); sort(expected.begin(),expected.end()); for(int i=0;i