Approach hintTry it first, then revealHide
The longest non-increasing suffix is already the largest arrangement of its elements, so the change must happen just before it. Swap that element with the smallest larger value in the suffix, then make the suffix as small as possible.