Pointing to the wrong position in doubly linked list?

前端 未结 0 1108
难免孤独
难免孤独 2020-12-11 14:18

My doubly linked list has two dummy nodes, head and tail. The addToFirst function works perfectly for me, but when I trying to use the same algorithm with addToBack, it keep

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