leetcode-273-Integer to English Words

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/86665796

The array is very important, define 3 array of string, one is less than 20, another one is less than hundred, the last one is 1,000, 1,000,000 and 1,000,000,000. Use this three array to handle number in 3 digits at a time.

Error:

  1. take care of " ", but I think it is very tricky to handle

猜你喜欢

转载自blog.csdn.net/zem_nezer/article/details/86665796