Ericsson interview question

First round itself started with design pattern