Tech Mahindra interview question

About buckets, maps, analytical function, udf etc