STG Labs interview question

Design pattern discussions in my project