Microsoft 面试题|分享国际站面经(Microsoft | OA | max number by deleting 3)
1028
发布于 未知归属地

Given an integer N, return the maximun posible value obtained by deleting '3' digit from the decimal representation of N. N will have atleast one '3'.Ex:
N = 13938 returns 1938
N = -3839 returns -389

等会做,先去吃饭😄,应该就是贪心就好了

评论 (0)