Algorithm: Reverse a Integer to an array with recursion

来源:互联网 发布:淘宝时间倒计时代码 编辑:程序博客网 时间:2024/05/01 03:45

Question:

Please reverse a Integer to an array with recursion. For example, there is a integer is 1234567890. After reverse, the integer should change to be 0987654321 .

Code:

原创粉丝点击