Question: Using Java please 2) Reversing simple compression Compression and packing algorithms are useful in many legitimate ways. They are also useful to malware authors for

Using Java please
2) Reversing simple compression Compression and packing algorithms are useful in many legitimate ways. They are also useful to malware authors for obfuscation of their code and data they are exfiltrating. You will write a program that reverse the custom compression algorithm detailed below: For a given input string, the compression algorithm counts the number of times a letter is repeated. It then prepends that number to the letter and removes any repeats. It does this for every letter in the string. As an example, consider the input string AAAABCC. The compression algorithm counts 4 A's in a row, so it prepends 4 to A and removes the repeats. After doing this for B and C, the final output is the compressed string 4A1B2C. Therefore, your program will receive a string such as 4A1B2C and will inflate it back to its original form prior to compression (AAAABCC) and output that string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
