Hulu Interview Question

find product triplets