Write a function that returns the count of characters that have to be removed in order to get a string with no consecutive repeats.
Examples 'abbbbc' => 'abc' # answer: 3 'abbcca' => 'abca' # answer: 2 'ab cca' => 'ab ca' # answer: 1
Please assign me this issue
/assign
/assign
hello sir @leonardomso , please assign me this task.
Can you please assign me this issue under haktoberfest.
/assign
Okay
Hi! I noticed this issue has been open a while. I’d like to work on it — unless someone else is already doing so, I’ll go ahead and prepare a PR
Hi , I would like to work on this, there are many ways to solve this problem but the most efficient is Greedy Linear Scan (in O(n) time & constant space). please Assign me if you can.