5 marksAbstract Data Types (ADTs)
CAPE Computer Science Unit 2 · 2006 · Paper 1 · Question 12(c)
Write an algorithm using only queue ADT operations to remove all elements from Q1 and insert them into an initially empty queue Q2.
The mark scheme is shown once you've answered.
Practise this question