Object-Oriented Programming · Airbnb · Hard
Build a banking system that keeps all of its state in memory. Its functionality is organized into four progressively richer levels, described below. Clarification: The interview report this task is based on leaves several things open: the exact interfaces, what each call returns, what happens when a scheduled transfer fails, and how historical queries behave. Those gaps are filled in explicitly here so the task can be implemented and tested on its own; these definitions are…