Pregunta de entrevista de Meta

technical questions with java as the language