Back

smallest number after deleting k digits

Created 2 years ago
72 Views
0 Comments
SakthivelHmOLkh
@SakthivelHmOLkh
SakthivelHmOLkh
@SakthivelHmOLkhProfile is locked. Login

Given a number N, obtain the smallest number after deleting K digits from N.
Input Size : 1<=N<=100000
Example:
INPUT
213 1
OUTPUT
13

Comments
Please login to comment.