Limited Time Offer:Up to 20% off Hello Interview Premium
Up to 20% off Hello Interview Premium 🎉
Hello Interview
Your Dashboard
System Design
Code
Low Level Design
Behavioral
AI Coding
New
ML System Design
Salary Negotiation
Interview Guides
Blog
System Design
Low Level Design
AI Coding
Behavioral
New
Interview Questions
Success Stories
System Design
Low-Level Design
New
Ask The Community
Discord
Mock Interviews
1:1 Mentorship
Refer a Friend
Pricing
Sign in / Sign up
Search
⌘K
Pricing

Tutor

Decode Scrambled Words Using Dictionary

Given a dictionary of valid words and scrambled words where only the middle letters are rearranged (first and last letters remain in place), decode each scrambled word by finding its matching dictionary entry.

Asked at:

Upstart


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Company
​
Level
All Regions
Region

Late January, 2026

Upstart

Senior

Your friends have sent you a message and wanted to show you a funny trick. For each word in the message, the first letter and the last letter stay the same, but the letters inside are scrambled. The human brain is surprisingly able to recognize the words and automatically decode the message. For example, the word "orange" could become "ognrae" or "orgnae". You don't find that trick very fun, so you will write a program that does the decoding for you. Fortunately, your friends have a shared vocabulary; all the words they use are contained in a provided dictionary (the words array).

Your account is free and you can post anonymously if you choose.

Hello Interview Premium

Recent interview questions
System Design Guided Practice
Exclusive content
Learn More
Questions
Meta SWE Interview QuestionsAmazon SWE Interview QuestionsGoogle SWE Interview QuestionsOpenAI SWE Interview QuestionsEngineering Manager (EM) Interview Questions
Learn
Learn System DesignLearn DSALearn BehavioralLearn ML System DesignLearn Low Level DesignGuided Practice
Links
FAQPricingGift PremiumHello Interview Premium
Legal
Terms and ConditionsPrivacy PolicySecurity
Contact
About UsProduct Support

7511 Greenwood Ave North Unit #4238 Seattle WA 98103


© 2026 Optick Labs Inc. All rights reserved.

Upstart
Upstart