J.P. Morgan interview question

Describe diffrent types design patterns