Pregunta de entrevista de Databricks

Construct an API for a practical problem