JAVA icon indicating copy to clipboard operation
JAVA copied to clipboard

Strings-Remove Duplicates

Open akshitagupta15june opened this issue 4 years ago • 8 comments

Take as input S, a string. Write a function that removes all consecutive duplicates. Print the value returned. Input Format

String Constraints

A string of length between 1 to 1000 Output Format

String Sample Input

aabccba

Sample Output

abcba

Explanation

For the given example, "aabccba", Consecutive Occurrence of a is 2, b is 1, and c is 2.

After removing all of the consecutive occurences, the Final ans will be : - "abcba".

akshitagupta15june avatar Sep 25 '20 10:09 akshitagupta15june

I would like to work on this issue.

Pratik-ahirrao avatar Sep 25 '20 10:09 Pratik-ahirrao

What should be the complexity of the program?

Pratik-ahirrao avatar Sep 25 '20 10:09 Pratik-ahirrao

PROCESS OF CONTRIBUTION IN THIS REPOSITORY

FORK THIS REPOSITORY ADD YOUR CODE IN RESPECTIVE FOLDER CREATE A PULL REQUEST AFTER A SIMPLE CHECK I WILL MERGE THE PR

HAPPY CODING AND CONTRIBUTING!!!!

akshitagupta15june avatar Sep 25 '20 10:09 akshitagupta15june

Please check my PR if it is correct . If it is, then please close the issue.

Pratik-ahirrao avatar Sep 25 '20 10:09 Pratik-ahirrao

Hi, I would like to work on this issue during the Hacktoberfest.

Kara3 avatar Sep 26 '20 19:09 Kara3

I would like to take this up.. Can I be assigned?

HaripriyaB avatar Sep 27 '20 08:09 HaripriyaB

Can you assign me this issue... ?

jayitsaha avatar Sep 29 '20 21:09 jayitsaha

I would like to contribute to this project.Please assign me this project.I will complete this project in just one day by using comments,appropriate variable names and in most efficient way.Greatly looking ahead to work with you.

ruchikayadav1408 avatar Oct 04 '23 08:10 ruchikayadav1408