Sasken interview question

Design Patterns with class diagram