Decrypt Scrambled Sentence

Asked at Upstart · Coding Questions · Difficulty: Medium

Given a dictionary and a scrambled sentence where each word keeps its first letter in place while the remaining letters are scrambled, use the dictionary to decipher the sentence and return the original sentence.

Loading the problem…