Search⌘ K
AI Features

Remove K Digits

Remove K Digits asks you to delete exactly k digits from a non-negative integer string so the remaining digits form the smallest possible number.

Statement

Given a string, num, that represents a non-negative integer and an integer k, ...