swapping a given node with the next node

前端 未结 0 793
天涯浪人
天涯浪人 2020-11-28 23:40

I want to swap two nodes the given node will be swapped with the next node (its a singly likedlist it just the node has two numbers) my code isn\'t working the node position

相关标签:
回答
  • 消灭零回复
提交回复
热议问题