Tripadvisor Interview Question

Typical string manipulation and graph traversal questions.