solulubeta
Sign in
Story Problems / Greedy
06.08 · Problem

Delete Numbers to Halve the List

Medium Remove the most frequent values first Pro

This problem is part of solulu Pro

A list has n numbers. You may choose a set of distinct values and delete all occurrences of every chosen value. What is the smallest number of distinct values you must choose so that at least half of the list's elements…

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 62 of 94 · updated 2026-10-12