beachbumm
asked on
queue questions??
what do the initially empty queues Q and T look like after the following sequence of statements? Q.QueueInsert(1,Success); Q.QueueInsert(2,Success); T.QueueInsert(3,Success); T.QueueInsert(4,Success); Q.GetQueueFront(QueueFront ,Success); T.QueueInsert(QueueFront,S uccess); Q.QueueDelete(Success); T.QueueInsert(5,Success); Q.QueueInsert(6,Success);
after working on this i believe the answer is Q=1,2,6;T=3,4,5
am i right on this?
after working on this i believe the answer is Q=1,2,6;T=3,4,5
am i right on this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER