Ericsson interview question

They asked to solve coding problems