How to create a function that act as 'stack.push(Node* temp)' in a linked list?

前端 未结 0 452
难免孤独
难免孤独 2021-01-12 15:14

I want to create a function that reverses the linked list by using a stack model but not using class \'stack\'. I am stuck in creating a function stack.push(Node t

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