LinkedIn interview question

Bounded buffer, maximum product subset, garbage collection