Coding-decodingMedium
The library locker
Kabir's locker at the city library holds every note he has made for the exam, and he has forgotten its four-letter code the evening before his mock test. Inside his diary is a hint he wrote to himself months ago: "If BOOK is written as CQPM, my code is NOTE written the same way." The librarian is switching off the lights, one row at a time. The locker allows three wrong tries before it jams for 24 hours. Kabir picks up a pen and looks at the two O's in BOOK. Why didn't they become the same letter?
Which code opens Kabir's locker?