Dictionary Encoding (Lossless) for Comma-Separated Words
Asked at Amplitude · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
Implement a lossless dictionary encoder and decoder for a comma-separated list of words.
Loading the problem…
More Amplitude interview questions
- Detect Cycles in Employee Reporting Structure
- Design and Implement Snake Game with Keyboard Input
- Validate Employees in a Hierarchy with Recursive Rules
- Swap the K-th Node from the End with the Head in a Singly Linked List
- Two-Team Turn-Based Battle Simulator
- Toy Language Type System