Skip to content

Challenge Series - A console application that compresses an alphabetical string by collapsing consecutive characters.

Notifications You must be signed in to change notification settings

ayubamini/CompressEnteranceString

Repository files navigation

CompressEnteranceString

A console application that compresses an alphabetical string by collapsing consecutive characters. The rules of the compression algorithm are defined by the test cases below.

Test cases:

  1. Input: aaabccccdd Output : a3bc4d2

  2. Input: yyyyyzzzzzzzzzz Output: y5z10

  3. Input: abcd Output: abcd (note: not a1b1c1d1)

About

Challenge Series - A console application that compresses an alphabetical string by collapsing consecutive characters.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages