Ajira Interview Question

A routing problem with backtracking.