Available question text
Given s and part, repeatedly remove the leftmost occurrence of part from s until no more occurrences remain, and return the resulting string. The core challenge is efficiently handling cascading deletions where removing a substring can create new matches across the deletion boundary.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1910. Remove All Occurrences of a Substring
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source