Ratio Finder
Given a list of conversion rates (formatted in the language of your choice) as a collection of origin unit, destination unit, and multiplier, for example:
Such that ORIGIN * MULTIPLIER = DESTINATION, design an algorithm that takes two arbitrary unit values and returns the conversion rate between them.
https://medium.com/@alexgolec/google-interview-problems-ratio-finder-d7aa8bf201e3