Example #1
0
 public Node Dequeue()
 {
     //Delete the node from queue
     return(linkedList.Pop());
 }
Example #2
0
 public Node Pop()
 {
     //Delete the node from stack
     return(linkedList.Pop());
 }