[go: nahoru, domu]

Skip to content

Commit

Permalink
[MODIFY] 两数相加
Browse files Browse the repository at this point in the history
  • Loading branch information
shevakuilin committed Jan 29, 2019
1 parent ac331d5 commit 6de8f5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AddingTwoNumbers.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,9 @@ func addTwoNumbers(list1: ListNode?, list2: ListNode?) -> ListNode? {
// 输出: [7,0,8]
// 预期结果:[7,0,8]
// https://leetcode-cn.com/problems/add-two-numbers/

// 备注参考
// swift 实现单链表创建、插入、删除 https://www.jianshu.com/p/68de9b3daa13
// Swift 链表 的制作 使用 https://blog.csdn.net/sunzhenglin2016/article/details/52690860

// 本题目的问题在于验证步骤,如何在Swift中以链表的形式进行验证该方法是否可以通过,leetcode-cn上验证可以通过,但是省去了验证输入的步骤,需要重新补上
Binary file not shown.
Binary file not shown.

0 comments on commit 6de8f5a

Please sign in to comment.