Company: Ibm_31oct
Difficulty: medium
Decode Numeric String Problem Description Decode a numeric string using ASCII values by following these rules: Reverse the given string of digits. Successively pick valid values from the string and convert them to their ASCII equivalents. Some values will have two digits, others three. Use these ASCII value ranges for decoding: A through Z: 65-90 a through z: 97-122 Space character: 32 For example, the string 'HackerRank' converts to ASCII values: H:72, a:97, c:99, k:107, e:101, r:114, R:82, a:97, n:110, k:107. This creates the ASCII string: 7297991071011148297110107. If the input string is 70101172991101011097727, to decode, reverse it and convert valid ASCII values to characters. Complete the function `decode` in the editor. The function is expected to return a `string`. The function accepts the following parameter: `string encoded`: an encoded string. The function should return the original decoded string. Examples Example 1: Input: 2351101150178233111211799118015623401611711411244