DXY Solutions interview question

Object oriented design question (cracking the coding interview would be helpful in preparation)