Amdocs interview question

Technical questions are somewhat deep