Commify interview question

what design patterns I used.