摘要:
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai 阅读全文
posted @ 2018-12-15 08:04
fatttcat
阅读(124)
评论(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-12-15 06:47
fatttcat
阅读(126)
评论(0)
推荐(0)
摘要:
Reverse a linked list from position m to n. Do it in one-pass. Note: 1 ≤ m ≤ n ≤ length of list. Example: 只反转从m到n的部分链表 M1: iterative 首先找到prev的位置(开始反转位 阅读全文
posted @ 2018-12-15 03:54
fatttcat
阅读(151)
评论(0)
推荐(0)
浙公网安备 33010602011771号