Smallest and Largest Number After Removing K Digits

Company: Pixelcompute

Difficulty: medium