Python Design Patterns For Data Engineering Interview Question