Capgemini Interview Question

Coding assessment on the pyspark in Azure databricks