LeetCode-Integer to English Words
摘要:
分成了三种状态。 0-19 20,30,40,...90 thousand, million, billion 所以,给一个三位数,如何转换成英语,这个是核心功能。 于是就用几个数组。 注意的地方是: else if (num < 100) { return TENS[num / 10] + " " 阅读全文
posted @ 2018-07-02 07:11 IncredibleThings 阅读(105) 评论(0) 推荐(0)
浙公网安备 33010602011771号