Backspace String Compare
Two Pointers
Problem
Given two strings S and T, return 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.
Solution
PreviousSort Colors (Dutch National Flag Problem)NextShortest Unsorted Continuous Subarray (Minimum Window Sort)
Last updated
Was this helpful?