Back to Question
Decode Ways
Question Explain
A message containing letters A-Z is being encoded to numbers. Given a non-empty string `s` containing only digits, determine the total number of ways to decode it.
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.