leetle

Daily challenge for 2026-03-24

448. Backspace Text Editor

Given a string s containing lowercase letters and '#' characters, return the final string after processing all backspaces. A '#' character represents a backspace, meaning it removes the character immediately to its left. If there is no character to remove, the backspace is ignored.

Example:
Input: s = "ab#c"
Output: "ac"

Run this challenge interactively in Python or JavaScript when the app loads.