MP3Three

导航

2020年8月19日 #

Leetcode Two Add Two Numbers

摘要: 前言 题目描述是,给出两个逆序的、用链表表示的数字,将二者相加得到结果,如: Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) Output: 7 -> 0 -> 8 Explanation: 342 + 465 = 807. 具体算法 1 /** 2 * Definitio 阅读全文

posted @ 2020-08-19 22:35 MP3Three 阅读(7) 评论(0) 推荐(0)