Pregunta de entrevista de Meta

Basic programming questions. Dont remember exacts