</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

56

:

36

Get this deal
Back to Dashboard

[CodeSignal] Minimum Score Suppressor

Medium

You are given a list of ad budgets (integers) and an integer k representing the number of throttle operations available. Each operation selects one active budget and reduces it by a fixed positive integer x. Return the minimum positive integer x such that after at most k operations all budgets are less than or equal to zero.

  • If there are no positive budgets, return 1. ...