MicrosoftCodingMembers
Minimum Set of Values to Remove Half the Array
Members only
Choose the fewest distinct integers such that deleting all their occurrences removes at least half of the array; return that count. The candidate identified it as similar to LC 1338.
MLE
greedy
hashmap
sorting
medium
Frequency
Single report
Last asked
2026-10-01
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
