first and second: a lowercase English letter is a typed character, and # is the Backspace key, which deletes the last character. On an empty field, Backspace does nothing.
Return True if both fields end up with the same text, and False otherwise.first="cat#r", second="caq#r" → True
The first sequence erases t, the second erases q; both produce car.
first="x##y", second="y" → True
The second # hits an empty field and does nothing, then y is typed: both texts are y.
first="ab#", second="b" → False
The first gives a and the second gives b, so the texts differ.
first, second ≤ 200#first="cat#r", second="caq#r"
True
Run checks the first 3 tests in your browser. Submit checks all 112 tests on the server, hidden ones included.