INTERSECT Interview Question

Data structure, traversal