Integer to English Words
This solution is brilliant!
@c.tianyi1989 It would be better to use the C++ move semantic here, rather than do a substring:
With a little bit of math you don't need to loop but maybe the loop is easier to read?
Hi, I rewrite the code in C++ above. Well, since C++ has no convenient functions like the Java trim, some tricks are needed to handle redundant spaces.
Thanks for pointing out. Correct it.
Thanks! It seems like I'm too lazy. XD
Great solution, thanks
No one has replied
recursive version 68ms
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.