My code is working fine if the duplicates are in the beginning of the string, for duplicates in between, it skips them and gives output obtained till that point. Please help
Remove Consecutive Duplicates
Works fine for test cases now but not giving any result on HackerBlocks. Please check
this works fine and it got submitted on hackerblocks as well
