Problem: Height Checker

I have been looking at the problem "Height Checker", and I am unsure how to go about it. Is it basically selection sort where were you count the swaps?

Comments (0)