Decipher Using Two Hashmaps
Asked at Upstart · Coding Questions · Difficulty: Easy
Decode a message by composing two dictionaries: each key of the first maps to an intermediate value, and that value is looked up as a key in the second.
Loading the problem…
More Upstart interview questions
- Design an Online Chess Platform (Matchmaking, Live Games, Clocks)
- Maximum Cities Visited Traveling West to East with Lexicographic City Names
- Decrypt String (Two-Cipher Relay)
- Parse a Comma-Separated String with Quoted Fields
- Remove Duplicate Integers While Preserving Order
- Babysitter Quote with Time-of-Day Rate Bands