For example, if the input number is 24635, the least number is 23 after deleting any 3 digits.
It\'s not the same as taking the two smalles
Very simple Algorithm come to mine mind
indexOf()), if exists remove. check if number of removed digit are equal to no of input digits to b removed . If not , check 9 existence gaain till it does not exist (indexOf() will return -1 under java) to see if same digit is repeated . Now repeat if for 8 till expected no of digit are removedFor example :-
Given number is 24635 and no of digit to remove are 2
234