Skip to main content
InterviewHubPRO
Section Overview
Q1

Question 1 of 50

Part 1: Creational & Structural Patterns (1 - 10)

2%
Design Patterns (GoF) (50 Qs)•Part 1: Creational & Structural Patterns (1 - 10)

What are the three Gang of Four (GoF) Pattern Categories?

junior Leveldesign-patternsCreational

In Simple Words:

  1. Creational Patterns: Deal with object creation mechanisms, increasing flexibility and reuse of existing code (Factory, Builder, Singleton, Prototype).
  2. Structural Patterns: Explain how to assemble objects and classes into larger structures while keeping them flexible and efficient (Adapter, Decorator, Facade, Proxy, Composite).
  3. Behavioral Patterns: Concerned with algorithms and the assignment of responsibilities between objects (Strategy, Observer, Command, State, Iterator).