Open the Lock at eBay

Medium61.1% acceptance

This problem has 75.0% frequency at eBay.

Problem Description

You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: `'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'`. The wheels can rotate freely and wrap around: for example we can turn `'9'` to be `'0'`, or `'0'` to be `'9'`. Each move consists of turning one wheel one slot. The l...

Read full problem and hints

Topics

Also asked at 16 companies


More eBay Questions

View all eBay questions