You are given two strings s and t.
You need to return True if both strings are the same after simulating typing with backspaces (#).
' #' means deleting one previous character if it exists.
Input: s = "ab#c" t = "ad#c"
Output: True
Input: s = "ab##" t = "c#d#"
Output: True
Accepted:
Submission: