I choose queue....... It could be either way. It is common to use a queue to add in more element at the tail and remove them at the head...... http://www.cs.bu.edu/teaching/c/queue/linked-list/types.html Stack I am NOT sure. Oh well screw convention :) John --- Neil Cherry wrote: > Question 9. A singly linked list is often a good way > to represent: > a stack. > a queue. > a vector. > > So how is a singly linked list a stack (last in > first out). Isn't > it a queue? Of can it be either? > > -- > Linux Home Automation Neil Cherry > ncherry@linuxha.com > http://www.linuxha.com/ Main > site > http://linuxha.blogspot.com/ My > HA Blog > Author of: Linux Smart Homes For Dummies > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist