Computer Science, asked by spsoni7122, 19 days ago

Data Structure (CS 303)

Consider the following queue where QUEUE is allocated 6 memory cells: Front= 2, Rear= 5 Queue: , London, Berlin, Rome, Paris,​

Answers

Answered by eniyavarshini2020
1

prakrati561

22.03.2021

Computer Science

Secondary School

answered

Consider the following queue where QUEUE is allocated 6 memory cells:

FRONT=2, REAR=5 QUEUE: _______, London, Berlin, Rome, Paris, _______

Describe the queue, including FRONT and REAR, as the following operations take

place:

(a) Attens is added,

(b) Two cities are deleted,

(c) Madrid is added,

(d) Moscow is added,

(e) Three cities are deleted and

(f) Oslo is added​

Answered by aghazaifii
0

Answer:

Explanation:

(a). Atten,______,London,Berlin,Rome,Paris

(b). Atten,______,______,_____,Rome,Paris

(c).Atten,Madrid,____,______,____Rome,Paris

(d).Atten,Madrid,____,______,____,_____,_____

(e),Atten,Madrid,Oslo,_____,____,_____,____,____

I Hope This Will Help You

Happy Studying ;)

Similar questions