minimum replacements to sort the array

updated May 30, 2024

Misc. Problem Info

Difficulty: Hard
Tags: ADP related to greedy