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 hintsTopics
Also asked at 2 companies
More Uber Questions
Bus RoutesHardNumber of IslandsMediumKth Smallest Element in a BSTMediumFind the Closest PalindromeHardConstruct Quad TreeMedium
View all Uber questions