https://github.com/ayubamini/compressenterancestring
Challenge Series - A console application that compresses an alphabetical string by collapsing consecutive characters.
https://github.com/ayubamini/compressenterancestring
arrays csharp object-oriented strings
Last synced: 28 days ago
JSON representation
Challenge Series - A console application that compresses an alphabetical string by collapsing consecutive characters.
- Host: GitHub
- URL: https://github.com/ayubamini/compressenterancestring
- Owner: ayubamini
- Created: 2021-06-02T05:48:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T05:53:20.000Z (about 4 years ago)
- Last Synced: 2023-09-09T19:32:52.485Z (over 1 year ago)
- Topics: arrays, csharp, object-oriented, strings
- Language: C#
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 : a3bc4d22. Input: yyyyyzzzzzzzzzz
Output: y5z103. Input: abcd
Output: abcd (note: not a1b1c1d1)