✔️ Python's Simple and Easy to Understand Solution| O(n) Solution | 99% Faster 🔥
\uD83D\uDD3C IF YOU FIND THIS POST HELPFUL PLEASE UPVOTE \uD83D\uDC4D\n\n\nclass Solution:\n    def backspaceCompare(self, s: str, t: str) -> bool:\n        s_b
**\uD83D\uDD3C IF YOU FIND THIS POST HELPFUL PLEASE UPVOTE \uD83D\uDC4D**\n\n```\nclass Solution:\n    def backspaceCompare(self, s: str, t: str) -> bool:\n        s_backspaced = []\n        t_backspaced = []\n        \n        for i in range(len(s)):\n            if s[i] == \'#\':\n                if s_backspaced:\n                    s_backspaced.pop()\n            else:\n                s_backspaced.append(s[i])\n            \n        for i in range(len(t)):\n            if t[i] == \'#\':\n                if t_backspaced:\n                    t_backspaced.pop()\n            else:\n                t_backspaced.append(t[i])\n        \n        return s_backspaced == t_backspaced\n```\n**If you\'re interested in learning Python, check out my blog. https://www.python-techs.com/**\n\n**Thank you for reading! \uD83D\uDE04 Comment if you have any questions or feedback.**
['Stack', 'Python', 'Python3']