Databricks Interview Question

Construct an API for a practical problem