If pointer Front points to the last node in a linked list and Rear points to first node.How to write a code to implement enqueue and dequeue member methods?
Google is your friend (or, well actually, you shouldn't Google it and try to work out the algorithm yourself first, since it's more educatonal, but alas...)!
BioPhysEngr http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Bookmarks