leetle

Daily challenge for 2026-02-27

423. Clear Backspace Characters

Given a string s containing lowercase letters and '#' characters, where '#' represents a backspace, return the final string after all backspaces are processed. Note that backspacing an empty string keeps it empty.

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

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