Given a finite set of bins and objects, where the bins are of infite size (there is no limit to the number of objects they can hold. What is an efficient algorithm to compute all the possibilities of objects in bins.
For example:
Lets say we have bins: B1, B2 and objects O1,O2 the solution would be:
B1 => [O1, O2]
B2 => []
B1 => []
B2 => [O1, O2]
B1 => [O2]
B2 => [O1]
B1 => [O1]
B2 => [O2]