Maximize Amount After Two Days of Conversions at Uber

Medium61.1% acceptance

This problem has 50.0% frequency at Uber.

Problem Description

You are given a string `initialCurrency`, and you start with `1.0` of `initialCurrency`. You are also given four arrays with currency pairs (strings) and rates (real numbers): * `pairs1[i] = [startCurrencyi, targetCurrencyi]` denotes that you can convert from `startCurrencyi` to `targetCurrencyi...

Read full problem and hints

Topics

Also asked at 2 companies


More Uber Questions

View all Uber questions