Erase K digits from string to get smallest possible
Filed under Sprinklr
The question
Given a numeric string of length N and an integer K, erase K digits from the string such that the remaining string is the smallest possible number.
No write-up yet. Related questions below have one.
Related Sprinklr questions
Collected from public candidate posts and coding forums. Updated Nov 2026.