Twin Editor Trails

Two note-taking panels record keystrokes using lowercase letters and the # key. When # is pressed, it removes the nearest character that is still visible immediately to its left.

Return true if the panels display identical text after their logs are replayed, and return false otherwise.

Read each log from left to right. A # has no effect when its panel has no visible character available.

Examples
Input: ["mno#p","mnr#p"]
Output: true
Hints

Twin Editor Trails

Two note-taking panels record keystrokes using lowercase letters and the `#` key. When `#` is pressed, it removes the nearest character that is still visible immediately to its left.