Available question text
Construct a substitution cipher by recording the first occurrence of each lowercase letter in key (which is guaranteed to contain all 26 letters) and mapping them in order to 'a'..'z'. Decode message by replacing each letter with its mapped letter while leaving spaces unchanged.
Related questions
Continue with questions that share topics or the same question type.
- Aggregate Recent Message Events And Active Chats
Coding · Data Structure Design
- Decode Scrambled Words Using Dictionary
Coding
- Decode String
Coding · Recursion · Stack · String
- Decode the Slanted Ciphertext
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Leetcode 2325. Decode the Message
Reported Sep 1, 2026 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source