Help Sherlock Holmes
CodeChefOpen on judge ↗
It’s a lovely morning in London. In 221B Baker Street, Sherlock Holmes is figuring out how to send the message to his friend Dr. Watson so that nobody else can understand. The English text he wants to hide or encrypt is done using following method: Step 1: Remove all the spaces present in the message (sentence) and let LEN be its length. Step 2: The characters are carefully written in a matrix
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start