Amazon Interview Question
- 0of 0 votes
Here is a question from the "Cracking The Coding Interview" book with a twist.- fz December 17, 2019 in United States
Implement a method to perform basic string compression using the counts of repeated characters. (p. 73 5th edition)
The twist: the string can also contain digits. Think of encoding and decode protocol. How the compression can be reversed properly?
For example, ab2ccccd -> ab24cd
| Report Duplicate | Flag | PURGE
Open Chat in New Window