Katkat

Implement account CRUD and transfer

HubSpotSoftware Engineer · Online Assessment

Last updated

This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Implement account CRUD and transfer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Question

Design and implement APIs to create an account, deposit money into an existing account, and transfer funds between two accounts while maintaining atomic balance updates and proper error handling.