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

Publicado el: 06 marzo 2023
en el 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.


En esta página del sitio puede ver el video en línea 402. Remove K Digits || Top Interview Problem || Medium Level de Duración hora minuto segunda en buena calidad , que subió el usuario Mohit Bodhija 06 marzo 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 63 veces y le gustó 6 a los espectadores. Disfruta viendo!