Maximum Currency Exchange Rate

Given a list of exchange rates rates, where rates[i] = [currency1, currency2, rate] denotes that currency1 can be exchanged for currency2 at a rate of rate. Write a function to determine the max...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: