Compass Interview Question

Handling non sequential data using graphs