A X

A X

  • NA
  • 18
  • 8.9k

stacks, queues and doubly linked lists question

May 10 2014 6:28 PM
Hello everybody. I am currently trying to create a doubly linked list using stacks and queues. I have to create different methods that remove, clear, add, find, etc. nodes. I am looking for information on how to add nodes to an empty list and how to remove them (This part I am understanding much easier). I just wanted to know if someone could help explain to me how to code a doubly linked list using stacks and queues in the same code.  If someone could write an example of that...It could be the most simplest thing,  i am just trying to find even the most simplest example on how to create a doubly linked list with stacks and queues but i cant find anything on the internet, the only ones i find are very difficult and it makes it hard for me to understand how to do it.

Answers (1)