forked from course-work/week1
more
This commit is contained in:
13
02-remove_dupe/README.md
Normal file
13
02-remove_dupe/README.md
Normal 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
02-remove_dupe/duplicate.py
Normal file
2
02-remove_dupe/duplicate.py
Normal file
@ -0,0 +1,2 @@
|
||||
def remove_duplicate(string):
|
||||
pass
|
Reference in New Issue
Block a user