RBC Interview Question

Implement dependency injection