← All problemsSign in

22SP - 02 Royal Translator

As Queen Elizabeth II’s newly recruited translator, Michelle IV is excited to begin her job at Buckingham Palace! But having just arrived from South Korea, she is extremely jet lagged and needs your help translating. Queen Elizabeth II has given her a string of only letters and spaces, forming a sentence of words (strings), and a “translation guide” mapping from string to string. Note: There is no

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