結果 : remove consecutive duplicates in a string leetcode