← ServiceNow questions
CodingReported in a candidate post, May 2025

Remove K Digits

Filed under ServiceNow · Also reported at Dream11

Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related ServiceNow questions

Collected from public candidate posts and coding forums. Updated Nov 2026.