Computer Science, asked by sadhwr42525, 6 months ago

Explain with an example the difference between input restricted dequeue and output restricted de queue

Answers

Answered by siddhantuchle12
3

Explanation:

Input-restricted Deque: In input-restricted, deletion can be done from both the ends but insertion can be done only at the rear end of the queue. Output-restricted Deque: In the output-restricted queue, insertion can be done from both the ends but deletion is done only at one end i.e. the front end of the queue.

Answered by radhikaguptaa
4

Answer:

Input-restricted Deque: In input-restricted, deletion can be done from both the ends but insertion can be done only at the rear end of the queue.

Output-restricted Deque: In the output-restricted queue, insertion can be done from both the ends but deletion is done only at one end i.e. the front end of the queue.

Explanation:

Similar questions