Given two strings s and t, return True if they are equal when both are typed into empty text editors. # means a backspace character. Note that after backspacing an empty text, the text will continue empty.
- Two strings
sandt.
Input: s = "ab#c", t = "ad#c"
Output: True
Explanation: Both become "ac".