Problem 844 · Easy

Backspace String Compare

Compare two strings after applying their backspace markers and check whether the final texts match. The visual scans from the end and skips characters that a marker deletes.

Open the interactive visualisation