Amazon Interview Question

was heap concept that was mixed with sliding window algorithm, that was about Amazon boxes shipment concept