LeetCode2696. Minimum String Length After Removing Substrings
文章目录一、题目二、题解一、题目YouaregivenastringsconsistingonlyofuppercaseEnglishletters.Youcanapplysomeoperationstothisstringwhere,inoneoperation,youcanremoveanyoccurrenceofoneofthesubstrings“AB”or“CD”froms.Return