Leetcode 3396. Minimum Number of Operations to Make Elements in Array Distinct | Hello Interview