Databricks interview question

Coding Questions about arryas, strings and maps