Python icon indicating copy to clipboard operation
Python copied to clipboard

Strings Compression

Open akshitagupta15june opened this issue 5 years ago • 6 comments

Take as input S, a string. Write a function that does basic string compression. Print the value returned. E.g. for input “aaabbccds” print out a3b2c2d1s1. Input Format

A single String S Constraints

1 < = length of String < = 1000 Output Format

The compressed String. Sample Input

aaabbccds

Sample Output

a3b2c2d1s1

Explanation

In the given sample test case 'a' is repeated 3 times consecutively, 'b' is repeated twice, 'c' is repeated twice and 'd and 's' occurred only once.

akshitagupta15june avatar Sep 25 '20 10:09 akshitagupta15june

Can i work on this ? will raise PR after Oct 1st, so can u assign this one on me?

rexdivakar avatar Sep 26 '20 11:09 rexdivakar

@akshitagupta15june I want to work on this .plzz assign it to me.

Halix267 avatar Sep 27 '20 07:09 Halix267

can i do this plz

HimadriPathak avatar Sep 28 '20 06:09 HimadriPathak

I really excited to work on this!

KickItLikeShika avatar Sep 28 '20 16:09 KickItLikeShika

Can you please assign this to me?

kanikarajpal avatar Oct 11 '22 19:10 kanikarajpal

Hi, I want to work on this. Will you please assign me this issue?

Ajit-007 avatar Oct 16 '22 09:10 Ajit-007