Amazon Interview Question

Array Manipulations, problems involving subsets.