Reversing a doubly linked list doesn't show the first node in output

后端 未结 0 1821
执笔经年
执笔经年 2021-01-18 15:04

I am not able to print the first node after reversing doubly linked list.

I have used structure to create nodes , I can tell that I am correctly swapping the prev and

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