Chess.com Interview Question

Explain some design patterns and examples