Results 1 to 3 of 3

Thread: What’s difference between Stack and Queue?

  1. #1
    Registered
    Join Date
    Mar 2016
    Posts
    76

    What’s difference between Stack and Queue?

    What’s difference between Stack and Queue?

  2. #2
    Registered
    Join Date
    May 2016
    Posts
    39
    Stack and Queue both are used as placeholder for a collection of data. The primary difference between a stack and a queue is that stack is based on Last in First out (LIFO) principle while a queue is based on FIFO (First In First Out) principle.

  3. #3
    Registered pxljobs's Avatar
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    290
    In the stack object are inserted and removed in the same end,this follow Last in First Out technique,the stack operation called push and pop,stacks are visualized vertical collections.
    In the queue object are inserted and removed in same end,queue following First in first out method,the queue operation is called enqueue and dequeue,queue are visualised horizontal collections.

Similar Threads

  1. what is the difference between ppc and cpc
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 4
    Last Post: 04-21-2017, 03:54 AM
  2. What are the Difference between SMO and PPC
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 12-01-2015, 05:10 AM
  3. What is the Difference between facebook and twitter
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 11-21-2015, 08:23 AM
  4. What is the Difference between PPC and SMO
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 09-30-2015, 08:12 AM
  5. .com, .net, .us and .info any difference?
    By organ in forum Search Engine Optimization
    Replies: 7
    Last Post: 04-26-2006, 12:01 AM

Tags for this Thread

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
  •