Pregunta de entrevista de Amdocs

1 Leetcode question, 3 questions about Objects