Maximize Points by Buying Cards with Cost and Multiplier

Asked at Virtu Financial · Coding Questions · Difficulty: Medium

You start with `initial` points. If you buy card `i`, your current points `points` become:

Loading the problem…