String to Digit Conversion
Asked at Uber · Coding Questions · Difficulty: Medium
Given an input string consisting of string numbers, convert these number strings into digit format and ensure correct formatting. For example, if the input is `thirty seven`, the program should return `37`. You need to handle formatting issues, such as adding commas in appropriate places.
Loading the problem…