Databricks Interview Question

Implement and test a simple function in an unknown programming language, given just a manual.