Springer Nature interview question

design pattern coding round test