How can a solution to the knapsack problem be represented?

Tap and speak the answer...

With a series of bits where each bit corresponds to the inclusion or exclusion of an item.
Card #1226 never reviewed.