Title: Theory / Important / CS / Algo / Design pattern

Name: A design pattern
Definition: A pattern name
Page: 12
Section: 1
Definition2: A problem,
Conjdef: All of
Definition3: A solution
Definition4: and their consequences

Name: A problem
Definition: describes when to apply the pattern
Page: 12
Section: 1
Context: Design pattern
Example: how
to represent algorithms as objects
Example2: might describe class or object
structures that are symptomatic of an inflexible design
Example3: a list of conditions that must be met before it makes
sense to apply the patter

Name: A solution
Definition: the elements that make up the design, their
relationships, responsibilities, and collaborations
Page: 12
Section: 1
Context: Design pattern

Name: the consequences
Definition: the results and trade-offs of applying the pattern
Page: 13
Section: 1
Context: Design pattern

Name: Purpose
Definition: What a pattern does
Page: 21
Section: 1
Context: Design pattern
Example: creational
Example2: structural
Example3: behavioral

Name: Creational pattern
Definition: concern the process of object creation
Page: 21
Section: 1
Context: Design pattern
Example: Factory method

Name: Structural pattern
Definition: deal with the composition of classes or objects
Page: 21
Section: 1
Context: Design pattern
Example: Adapter

Name: Behavioral pattern
Definition: characterize the ways in which classes or objects  interact and distribute responsibility.
Page: 21
Section: 1
Context: Design pattern
Example: Interpreter
Example2: Template method

Name: Scope
Definition: whether the pattern applies primarily to classes or to objects
Page: 22
Context: Design pattern