please find flaw in my code–https://ide.codingblocks.com/s/256315
Not getting flaw in my code
Try this test : abcdee
your code fails to remove duplicates for last repeating character.
refer this
Try this test : abcdee
your code fails to remove duplicates for last repeating character.
refer this