When you put an item on a queue, how do you show the items inside the queue? do you use peek method? the situation is a linked queue...
ezkonekgal
-1
Junior Poster
Recommended Answers
Jump to PostWhen putting an item inside the queue why do you want to show the queue. Or is it some assignment requirement that on every addition of element to the queue you need to show the queue structure ?
If yes, then write some method that traverses the entire queue and …
All 4 Replies
verruckt24
438
Posting Shark
ezkonekgal
-1
Junior Poster
verruckt24
438
Posting Shark
ezkonekgal
-1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.