DXC Technology interview question

What design principles were considered for the solution