Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strings-Remove Duplicates #29

Open
akshitagupta15june opened this issue Sep 25, 2020 · 8 comments
Open

Strings-Remove Duplicates #29

akshitagupta15june opened this issue Sep 25, 2020 · 8 comments

Comments

@akshitagupta15june
Copy link
Member

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".

@Pratik-ahirrao
Copy link
Contributor

I would like to work on this issue.

@Pratik-ahirrao
Copy link
Contributor

What should be the complexity of the program?

@akshitagupta15june
Copy link
Member Author

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!!!!

@Pratik-ahirrao
Copy link
Contributor

Pratik-ahirrao commented Sep 25, 2020

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

@Kara3
Copy link
Contributor

Kara3 commented Sep 26, 2020

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

@HaripriyaB
Copy link

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

@jayitsaha
Copy link

Can you assign me this issue... ?

@ruchikayadav1408
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants