Pergunta de entrevista da empresa Ramp

Build a banking system where you can initialize users, update their balances, withdraw money and send them between users. Also add a method to find the most frequent senders ect.

Resposta da entrevista

Sigiloso

21 de set. de 2025

I used python OOP to initialize users with 0 balance, no payments needing to be sent ect. with a dictionary. I implemented the payment methods to send money between users by using their Ids in the dictionary. I also kept track of user transaction amounts with another dictionary and added a sorting function to get the most frequent senders.