Decrypt a Double-Substitution Cipher

Given two complete substitution ciphers inferred from plaintext/ciphertext samples, decrypt a message that was encrypted twice and recover Carol's original plaintext message to Alice.

Function signat...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: