White and function solution that given an integer N finds the most appeared digit in the number and returns the maximum possible value obtainable by deleting each time one digit. In case that There is more than 1 Digit that have the same amount of occurrence in the number, the function should also calculate the maximum value for those digits : 1.given N = 23141, the function should return 2341 Explanatations The most appeard digit in the given numbet is 1. in the first 1 digit in the given number is 1. In the first 1 digit is removed,2341 is receved. In the second 1 digit is removed, 2314 is receved. Therefore the maximum value is 2341 2.given N = 23141, the function should return -2314 Explanations: the most appeard digit in the given number is 1. If the first one digit is removed,-2341 is received. If the second 1 digit is removed, -2314 is received. Therefore the maximum value is -2314 3.Given N= 73232,the function should return 7332 Explanations: The most appeard digits in the given number are 3 and 2 (bot of the thèm should be considered‏. After removing the first 3,7232 is received. After removing the second 3,7322 is received. After removing the first 2,7332 is received. After removeing the second 2,7323 is recived. Therefore the maximum value is 7332. 4.Given N = 23000, the function should returm 2300 Explanations: The most appeard digit in tje given number is 0.the same value is receved for each 0 that will removed. Therefore,the maximim valur is 2300. Assume that: N is an integer within the range [-2,147,483,647...2,147,483,647]; N consists of at least two digits in its decimal.

Q&A Education