Goldman Sachs Interview Question

Remove All Adjacent Duplicates in String II