Maximum Distinct Elements After Removing K Elements Leetcode Contest