402. Remove K Digits || Top Interview Problem || Medium Level

Publicado em: 06 Março 2023
no canal de: Mohit Bodhija
63
6

Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num.

Example 1:

Input: num = "1432219", k = 3
Output: "1219"
Explanation: Remove the three digits 4, 3, and 2 to form the new number 1219 which is the smallest.


Nesta página do site você pode assistir ao vídeo on-line 402. Remove K Digits || Top Interview Problem || Medium Level duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Mohit Bodhija 06 Março 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 63 vezes e gostou 6 espectadores. Boa visualização!