Given a string number representing a positive integer and a character digit, return the maximum possible string representation of the integer obtained by removing exactly one occurrence of digit from number.
Constraints:
number.length
number consists of digits from
digit is a digit from
digit occurs at least once in number.
Given a string number representing a positive integer and a character digit, return the maximum possible string representation of the integer obtained by removing exactly one occurrence of digit from number.
Constraints:
number.length
number consists of digits from
digit is a digit from
digit occurs at least once in number.