Teaching Kids Programming – Remove Consecutive Duplicates
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string s, consisting of “X” and “Y”s, delete the minimum number of characters such that there’s no consecutive …