Compass interview question

On the spot Design Challenge