MAERSK Interview Question

based on DS, algorithms, design patterns, architecture design problem solving, logical problem solving