...
/DIY: Remove All Adjacent Duplicates In String
DIY: Remove All Adjacent Duplicates In String
Solve the interview question "Remove All Adjacent Duplicates In String" in this lesson.
We'll cover the following...
Problem Statement
Given a string s
consisting of lowercase English letters, you need to write code to repeatedly remove adjacent duplicate letters, one pair at a time.
Access this course and 1400+ top-rated courses and projects.