Solution: Backspace String Compare
Solution: Backspace String Compare gives you two strings typed into empty editors, where # erases the latest character. Return whether their final text is identical.
We'll cover the following...
We'll cover the following...
Statement
Given two strings s and t, return true if they produce the same result when typed into an empty text editor, where '#' represents a backspace character. Applying a backspace on an empty editor leaves it unchanged.
Note: Can you solve it in
time and space?
Constraints:
...