MAERSK interview question

Prmotion Engine problem and share Git Hub link