Remove K Digits at Snapchat

Medium36.4% acceptance

This problem has 87.5% frequency at Snapchat.

Problem Description

Given string num representing a non-negative integer `num`, and an integer `k`, return _the smallest possible integer after removing_ `k` _digits from_ `num`.

Read full problem and hints

Topics

Also asked at 20 companies


More Snapchat Questions

View all Snapchat questions