Homework 4


Due : 11am, 14 July

Question 4.17 from the course text.

Solution

while (!Q.IsEmpty ())
   S.Push (Q.DeQueue ());
while (!S.IsEmpty ())
   Q.EnQueue (S.Pop ());

Last updated : 13 July 1999 10:42am