</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

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

$10.42$7.08

08

:

04

:

53

:

45

Get this deal
Back to Dashboard

[CodeSignal] Fixed Price Purchase Optimizer

Hard

A procurement team must purchase n identical components one at a time. For each component, the quoted market price is drawn independently and uniformly at random from the range [lo, hi].

Upon seeing the current market price x, the team has two options: ...