can anyone tell me the advantages of using a linked queue implementation compared to a queue using array implementation?
can anyone tell me the advantages of using a linked queue implementation compared to a queue using array implementation?
What do you think the advantages are.... lets see what you've come up with first...
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
In theory you can have an infinite long queue. If you use an array, you have to define a max (of course you could reallocate memory for it, but that's another thing ).Originally posted by goldfish
can anyone tell me the advantages of using a linked queue implementation compared to a queue using array implementation?
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.