You must log in or register to comment.
Honestly as long as literals are properly converted, I don’t see any other way to do this in an entirely encoding agnostic way
Now please publish it as a Node.js module and in 3 weeks, it will be in Top 10 most used modules, being used in 90% of Fortune 500 corporations.
But… does it pass all the tests?
If it does, they don’t have enough of the right tests.
Elaborate
What would the output be for the following:
99 Beers on the Wall!
Or for “CAFÉ”?
I hope this is O(n!)