Ericsson interview question

Pretty Straightforward