This commit is contained in:
2023-09-25 14:36:26 -04:00
commit dcf0512e25
35 changed files with 1088 additions and 0 deletions

13
Remove_Dupe/README.md Normal file
View File

@ -0,0 +1,13 @@
Remove The Dupes!
==================
You have a string "aabbccddeded". We want to remove all the _consecutive_ duplicates and put them in a separate string, which yields two separate instances of the string "abcdeded".
input: "balloons"
expected output: "balons" "lo"
input: "aabbccddeded"
expected output: "abcdeded" "abcd"
input: "flabby aapples"
expected output: "flaby aples" "bap"

2
Remove_Dupe/duplicate.py Normal file
View File

@ -0,0 +1,2 @@
def remove_duplicate(string):
pass