Ericsson Interview Question

Recently solved problems and the efficiency