XRP Quote From USD Budget Using Sell Limit Orders (Partial Fills Allowed)

Asked at Ripple · Coding Questions · Difficulty: Medium

Given a list of sell limit orders and a USD budget `budget`, compute the **maximum** amount of XRP a customer can buy.

Loading the problem…