Providence interview question

Problem solving, Oops, DP, SOLID principles