Array
3634. Minimum Removals to Balance Array
Given an array nums and an integer k. The array is "balanced" if max ≤ min·k. Find the minimum number of removals so the remaining (non-empty) array becomes balanced.
Loading…
Given an array nums and an integer k. The array is "balanced" if max ≤ min·k. Find the minimum number of removals so the remaining (non-empty) array becomes balanced.
Loading…