摘要:
问题描述 Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 题意很明确,将一个整数反转输出。 思路 首先不用考虑用库函数先转为字符串再反转的方式,这根本不是算法。 整 阅读全文
posted @ 2016-11-23 11:32
司青
阅读(8)
评论(0)
推荐(0)
摘要:
问题描述 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si 阅读全文
posted @ 2016-11-23 11:14
司青
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号