❓ Problem:
You want to choose between different algorithms (sorting, payments, validation, etc.) at runtime.
🧠 Analogy:
Think of an online checkout system: At payment, customers can choose their preferred payment gateway—such as UPI, Credit Card, o...