0
点赞
收藏
分享

微信扫一扫

leetcode-24-Swap Nodes in Pairs

一只1994 2023-08-23 阅读 10


The problem I did is very simple and clearly, which is seems stupid. I just point out its next point, next’s next point, and next’s next’s next point. Then rearrange the next point.

The tricky point is need to take care the if there is next point exist.


举报

相关推荐

0 条评论