LeetCode

Remove All Adjacent Duplicates in String II

Click here for an explanation.