HackerRank Assesment Test | SDE | 8th September 2020

Question · Posted Sep 2020

Easy Problemset! Duration : 1hr Problems : 2 problems Different compression techniques are used in order to reduce the size of the messages sent over the web. An algorithm is designed to compress a given string by describing the total number of consecutive occurrences of each character next to it. For example, consider the string "abaasass". Group the consecutive occurrence of each character: • 'a'occurs one time. • 'b'occurs one time. • 'a'occurs two times consecutively. • 's'occurs one time. ...

The full answer & interview discussion are available to premium members.

Log in Create a free account