Tell whether chars in a long string are in order
Anonymous User
93

Provided a char order like "bcazxf", output whether the order of the chars in the input string is in order or not.

Follow up is the string is very long. How to optimize for the long string?

Comments (1)