Minimum Replacements for Unique-Element Subarrays

Company: Deshaw_28thjune

Difficulty: hard