← Salesforce questions
CodingReported in a candidate post, Feb 2025

Compare strings with # as backspace

Filed under Salesforce

Given two strings s and t containing lowercase letters and '#', where '#' is a backspace (deletes the previous character if any), return true if they are equal after applying all backspaces.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Salesforce questions

Collected from public candidate posts and coding forums. Updated Nov 2026.