Cactus Communications interview question

Only gave the test