stevenglass
asked on
queue's
i would like to know what are are the advantages and disadvantages of
Queues implemented as an array
Queues implemented with nodes and pointers
i am a newbie so please explain a bit and examples would be great!
thank you for your help!!!
steven
Queues implemented as an array
Queues implemented with nodes and pointers
i am a newbie so please explain a bit and examples would be great!
thank you for your help!!!
steven
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
echo?
Java doesn't use the concept of a pointer, though - at least not explicitly.
If you use an array, simply use an array. If you wnat to use the node/pointer approach use java.util.LinkedList as you underlying data structure.