Pregunta de entrevista de Databricks

they ask about python questions and puzzle