Search
⌘K

Leetcode 1309. Decrypt String from Alphabet to Integer Mapping

Decode a string where single digits '1'–'9' map to 'a'–'i' and two-digit numbers followed by '#' ('10#'–'26#') map to 'j'–'z'. Scan the input and translate each token (single digit or two-digit+'#') into the corresponding lowercase letter.


Question Timeline

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

Comments

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