Software Architecture · Design Patterns
How would you answer an interview scenario involving Factory pattern?
Explain how you would select one of several payment-provider implementations without scattering new statements across the codebase.