any of the customers who bought productX. Whereas, in my case, I need the products which were bought by all the customers who bought product X . I am not very sure how this solution can be extended to my case, if possible. Is there any other way or a graph algorithm to solve this in a more optimal way. Thanks, Sumanth