LitePoint Interview Question

“How will you implement sets and the intersection operation? Complexity?”