problem
1047. Remove All Adjacent Duplicates In String
solution#1: 使用stack;
code:
solution#2: 快慢指针;
code
solution#3: 数据类型string的特性;
code
参考
1. leetcode_easy_stack_1047. Remove All Adjacent Duplicates In String;
完
【leetcode_easy_stack】1047. Remove All Adjacent Duplicates In String
原文:https://www.cnblogs.com/happyamyhope/p/14030725.html