Alphabet Count Decoder
Asked at NVIDIA · Coding Questions · Difficulty: Easy · Last asked Apr 26, 2026
A compact code writes a sequence of lowercase letters as digits. Letters `a` to `i` are the single digits `1` to `9`, and letters `j` to `z` are the two-digit numbers `10` to `26`, each followed by `#`. A letter may be followed by a repeat count in parentheses. Decode the string and report how many times each letter occurs.
Loading the problem…
More NVIDIA interview questions
- Implement Beam Search for Language Model Decoding
- Design a GPU Inference Serving System
- Deep Learning Fundamentals: Optimization, Drift, Calibration
- LLM SQL Chatbot Access Control and Query Safety
- Rate Limiter Algorithm Design
- HPC Host Control Plane and Job Coordination