Microsoft Interview Question

I had asked to solve a code for find the subset with the maximum product.