Amdocs interview question

consists of basic dsa problem solving, logical reasoning from geeks for geeks,