SAP Interview Question

Generic coding question. Data case study without going much into data science/machine learning depth.