https://hack.codingblocks.com/contests/c/474/242
http://ide.codingblocks.com/#/s/21875
Strings-Remove Duplicates
Heyy , actually you didnt understood the problem . You are asked to remove consecutive dublicates not its all dublicates . You are deleting its dublicates present in the given string .
e.g. for input aaaba , you are deleting a from whole string but you are just asked to delete consecutive a . So answer should be aba .
Okay , so take a look on this code
https://ide.codingblocks.com/#/s/22231