Back to QuestionsPractice with This Question
Decode Ways
97.6K views•Asked at Stripe•
Medium
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
Practice answering orally or with text to get instant AI feedback.