Online Assessment
An OA on Budgeted Item Purchases
Hudson River TradingSoftware Engineer · Online Assessment · Sep 2026
Input: prices[]: An array of length n, where prices[i] is the price of item i. queries[]: A two-dimensional array whose elements are [start_i, budget_i]. Each query means that only items with indices greater than or equal to start_i may be purchased, with a total budget of budget_i. Rules: Each item may be purchased at most once. The order or positions of the items do not matter; they do not have…
Shared by a candidate · reported Sep 2026. Interview formats change; use it as a guide, not a script.