Minodes interview question

To solve Rossman Kaggle competition