HashedIn by Deloitte interview question

Remove All Adjacent Duplicates in String (LeetCode 1047)