Ericsson interview question

just 3 normal C++ coding tests