Databricks Interview Question

Coding Questions about arryas, strings and maps