โ† TCS questions

Mislabelled jar puzzle

Filed under TCS

The question

There are 3 jars, all mislabelled: one holds Bananas, another holds Apples, and the third holds a mix of both. Determine the minimum number of fruits to pick and from which jars to correctly label all of them.

No write-up yet. Related questions below have one.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.