Remove Adjacent Duplicate Characters

Asked at Blue Origin · Coding Questions · Difficulty: Medium

You are given a string of lowercase letters. Repeatedly delete a pair of equal letters that sit next to each other, until no two neighboring letters are equal, and return what is left.

Loading the problem…