Decode Ways at Goldman Sachs
Medium37.6% acceptance
This problem has 62.5% frequency at Goldman Sachs.
Problem Description
You have intercepted a secret message encoded as a string of numbers. The message is **decoded** via the following mapping: `"1" -> 'A' "2" -> 'B' ... "25" -> 'Y' "26" -> 'Z'` However, while decoding the message, you realize that there are many different ways you can decode the message bec...
Read full problem and hintsTopics
Also asked at 22 companies
More Goldman Sachs Questions
Trapping Rain WaterHardFraction to Recurring DecimalMediumFirst Unique Character in a StringEasyLongest Substring Without Repeating CharactersMediumMinimum Path SumMedium
View all Goldman Sachs questions