Results 1 to 2 of 2

Thread: stack and queue

  1. #1
    AdamsClark is offline Senior Member
    Join Date
    Dec 2009
    Posts
    247
    Rep Power
    3

    Default stack and queue

    What is stack and queue?

  2. #2
    EvansMitchell is offline Senior Member
    Join Date
    Dec 2009
    Posts
    227
    Rep Power
    3

    Default

    • A stack is generally First In, Last Out (FILO), and a queue is First in First Out (FIFO).

    • Item can be added or removed only at one end in stack and in a queue insertion at the rear and deletion from the front.

    • The basic operation of stack is 'push' and 'pop', in queue are 'enque' and 'dequeue'.

    • The main difference is that one is a real implementation (Stack) while the other is an interface (Queue) thus involve that extra functionality is offered by the real classes that implement the Queue interface like blocking, and synchronization.

Similar Threads

  1. How to Flush the Print Queue
    By Madalena Jovana in forum Printer
    Replies: 0
    Last Post: 02-22-2010, 07:28 AM
  2. Stack up folders in windows vista
    By Jawan Greig in forum Windows Vista
    Replies: 0
    Last Post: 07-08-2009, 05:04 AM
  3. Outdated software stack
    By anna26 in forum General Software Terms
    Replies: 1
    Last Post: 04-07-2009, 08:08 AM
  4. Stack Targeted to Novice users
    By andrea55 in forum Web. 2.0
    Replies: 1
    Last Post: 12-19-2008, 10:16 AM
  5. Print Queue
    By vandana43 in forum Printer
    Replies: 0
    Last Post: 03-20-2008, 08:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48