Question:
Asked the problem to remove duplicate characters in string, something similar to https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/
Follow-up:
Candy Crush 1D
Any idea how it can be done, similar problems on leetcode specify some number of characters k that can be removed.