J.P. Morgan Interview Question

Explain design patters with examples