Amplifinity Interview Question

design pattern