JAVA
JAVA copied to clipboard
Strings-Remove Duplicates
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".
I would like to work on this issue.
What should be the complexity of the program?
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!!!!
Please check my PR if it is correct . If it is, then please close the issue.
Hi, I would like to work on this issue during the Hacktoberfest.
I would like to take this up.. Can I be assigned?
Can you assign me this issue... ?
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.