Remove all adjacent duplicates in string
Remove All Adjacent Duplicates In String Link Companies: Bloomberg, Facebook, Google, Oracle Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make duplicate removals on S until we no longer can. Return the final string after all such duplicate removals have …