Ericsson interview question

Easy