← All problemsSign in

Prisoner Code Problem

Prisoners in a jail want to communicate within them and make a plan to breakout the prison. They cannot communicate in normal language or else the guard will get to know their plan. Help the prisoners to encrypt their messages with Tap Code. The tap code, sometimes called the knock code, is a way to encode text messages on a letter-by-letter basis in a very simple way. The message is transmitte

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start