摘要: Given a 32-bit signed integer, reverse digits of an integer. 自己的代码: 这段代码逻辑没有问题,测试过一些位数的数字也没有问题,但是问题就处在那些超过int范围的数字,如代码中给出的那个数字,运行结果如下: 我们可以看到x已经不是原来的x 阅读全文
posted @ 2018-02-21 15:03 yuanninesuns 阅读(126) 评论(0) 推荐(0) 编辑
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai 阅读全文
posted @ 2018-02-21 13:34 yuanninesuns 阅读(192) 评论(0) 推荐(0) 编辑