Delivery carts follow one-way routes; for each starting location, find every final location a cart can end at.
Delivery carts follow one-way routes; for each starting location, find every final location a cart can end at.
Opens with the full question.