Bloomberg interview question

Given categorical and numerical dataset, asked about ML system design. Later write code to implement some functions.