Suppose we have a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order. There are some properties −

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements