Yelp Interview Question

Hackerrank: simple graph question, assessing which nodes are accessible from specific starting positions given a limited travel distance