Leetcode 2325. Decode the Message
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.
Asked at:
Google
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early September, 2026
Mid-level
I was given a map where key was upper case letter and value was a code consiting of '-' or '.'. The task was to decode all possible values from given morse code
Hello Interview Premium
Your account is free and you can post anonymously if you choose.