Algorithm · Stripe · Easy
Compute Fees Across Transaction Categories You receive CSV text describing several transactions. Every record supplies a fixed charge along with a percentage-based charge; create a function that determines the combined fee for each transaction. Read both fee components from the CSV data and produce one fee value per record. Input: A CSV-formatted string where each row describes one transaction using its transaction ID, flat fee, percentage fee rate, and transaction value.…
Checking your access…