Reconstruct Digits from Concatenated Number Words
Given a string s formed by shuffling and concatenating English number words, reconstruct the original digits and return them as a sorted digit string.
The number words are:
`zero, one, two, three,...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
