Leetcode 2710. Remove Trailing Zeros From a String
Remove all trailing '0' digits from a numeric string and return the resulting integer as a string (i.e., trim the '0' suffix). Input length ≤1000, consists only of digits and has no leading zeros.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.