eBay interview question

graph navigation techniques and coding them