Amdocs interview question

Standard