Layer (Germany) Interview Question

Clean Code design exercise