Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help2200


This forum is provided to promote discussion amongst students enrolled in Data Structures and Algorithms (CITS2200).
 
Options:
RSS cloud
Jump to:

singly-linked implementation of the deque ADT

1 of 251 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Wed 25th Mar, 12:48am
Actions: 
  Login-to-reply
Hi there,

Im having trouble with writing the method popLeft() with a dequeLinked.
it would return the right most link, which would be last. But how do i then "pop" it
like remove it from the linkage and have the link thats before Last now pointing to null to 
indicate the last link.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020