Two numbers are represented as linked lists. Both lists are of same length. Add them without manipulating the lists and without a second traversal.
---------------------------------------------------------------
Use two pointers, mark the first noe - 9

本文介绍了一种不使用额外遍历且无需修改链表的方式来进行两个相同长度链表所表示数值的加法运算。通过使用两个指针从链表头部开始进行操作。
151

被折叠的 条评论
为什么被折叠?



