Anthropic interview question

Code Signal question about coding up basic functionality for a bank.