swap two elements from a linked list given a position

前端 未结 0 1668
忘掉有多难
忘掉有多难 2021-02-07 06:12

I want to program a function that swaps the element of a list given a position, for example:

original list:
10-->20-->30-->40-->50-->60


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