leetcode - 2038. Remove Colored Pieces if Both Neighbors are the Same Color
DescriptionTherearenpiecesarrangedinaline,andeachpieceiscoloredeitherby‘A’orby‘B’.Youaregivenastringcolorsoflengthnwherecolors[i]isthecoloroftheithpiece.AliceandBobareplayingagamewheretheytakealternat