Top Up Accounts Below a Threshold from Surplus Accounts and Log Each Transfer
Company: Remitly
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Overview: Given a mapping of account IDs to balances and a threshold, move money from accounts above the threshold into accounts below it until every account reaches the threshold, logging each transfer. It tests feasibility checks, matching surpluses to shortfalls, exact money handling and producing an auditable transaction log.