PayPal interview question

explain some design patterns you used and give examples