Algorithm · Stripe · Medium
Currency Exchange Rate Converter Coding Software Engineer Problem Overview Create a currency-conversion system for a global payments platform. It receives known exchange rates and must calculate conversions between currencies. The rates arrive as a comma-separated string using the format "FROM:TO:RATE,FROM:TO:RATE,...". Each record means that one unit of FROM can be exchanged for RATE units of TO. For instance: "USD:EUR:0.85,EUR:GBP:0.88,USD:JPY:110". Complete the following…
Checking your access…