โ† Visa questions

Find defective ball out of 8 balls

Filed under Visa

The question

You have 8 balls, one of which is defective and differs in weight from the others (it is unknown whether it is heavier or lighter). Find the minimum number of weighings on a balance scale to determine the defective ball.

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

Related Visa questions

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