1047 Remove All Adjacent Duplicates In String | Beginner friendly W/ Thinking Process

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • LeetCode 1047. Remove All Adjacent Duplicates In String
    **What you can learn**:
    1. Use a stack to help us keep track of the order
    **Why beginner friendly**:
    There's no rehearsal or any outline while solving this problem. Therefore, you may find I will be stuck at some point and see how figure it out in another way. I am trying to show you when I am encountering a "brand new problem", what I am thinking and what kind of data structure and technique I will use I learnt before (Of course, I have done these problems before a long time ago which also means forget most of the details.)
    Feel free to let me know if you have any questions, a better solution or what I can improve. Thanks for your watching.
    #leetcode #leetcodeing #string #algorithm #datastructure #stack

Комментарии •