Programming Questions For Interview Preparation

Paritosh Mahto
2 min readJul 22, 2021

A series of programming questions were asked in interviews for daily practices.

This problem was asked by Amazon which is based on Data Compression in which implementation of Run-Length Encoding of Strings was asked.

Run-length Encoding is the simplest data compression technique. The basic idea behind this is to represent repeated successive characters as a…

--

--