chi1993zhang / chi1993zhang.github.io

0 stars 0 forks source link

LeetCode 24. Swap Nodes in Pairs | 驰的博客 #9

Open chi1993zhang opened 4 years ago

chi1993zhang commented 4 years ago

http://18.188.99.190/2019/ck49iw1t5000xs6p1eqfu6nk7/

LeetCode 24. Swap Nodes in Pairs链接https://leetcode.com/problems/swap-nodes-in-pairs/

算法 每次取得相邻两节点 firstnode, secondnode