โ† Amazon questions

Minimum element removals for max <= 2 * min

Filed under Amazon

Given an integer array nums, find the minimum number of elements to remove such that after removal, the maximum element in the remaining array is less than or equal to twice the minimum element.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.