Answer
3A maximum of eight combinations
must be tried in order to guarantee the opening of the
lock. If you think of the switch settings as a 4-bit binary
number, try all of the combinations that have even parity,
or equivalently, you can try all of the combinations that
have odd parity.
Contributor: Eddie
Insam
Published
August 2003