MAERSK interview question

Standard DS Algo and System Design