One Liner Python3 Code Golf
One line code golf solution using lambda functions, list comprehension and a stack. \n\n# Code\n\nclass Solution:\n    def backspaceCompare(self, s: str, t: str
One line code golf solution using lambda functions, list comprehension and a stack. \n\n# Code\n```\nclass Solution:\n    def backspaceCompare(self, s: str, t: str) -> bool:\n        return (lambda f, s, t: f(s) == f(t))(lambda s, l=None: (l := [] if l is None else []) or \'\'.join(([l.append(c) if c != \'#\' else (l.pop() if l else None) for c in s], l)[-1]), s, t)\n```\n\n![plz.jpeg](https://assets.leetcode.com/users/images/59f08557-97da-40ed-af68-4a7708641b60_1697742632.2847345.jpeg)
['Stack', 'Python3']