Available question text
Given a numeric string and a target digit that occurs at least once, remove exactly one occurrence of that digit so the remaining string represents the largest possible integer. The core challenge is selecting which occurrence to remove (a greedy positional choice) while preserving the original order.
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
Google
Leetcode 2259. Remove Digit From Number to Maximize Result
Reported Oct 1, 2024 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source