Code Craft: Restaurant Delivery Heatmap

Asked at DoorDash · Coding Questions · Difficulty: Medium · Last asked Mar 23, 2026

Build an n x n delivery heatmap in which every cell holds the total expected deliveries of all restaurants whose range covers it.

Loading the problem…