ReviewProblems2 - Faculty of Computers and Information...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Faculty of Computers and Information Faculty of Computers and Information Faculty of Computers and Information Faculty of Computers and Information Review Problems 2 Department of Computer Science Data Structures For all of the following problems, when it is stated “in the user level” you should assume that you only have the object code of the data structure along with the interface given in the header file. On the other hand, When it is stated that “in the implementation level” you should assume that you have the source code file of the data structure and you should write the desired piece of code within that source code file. 1. How to use a general list either as a queue or a stack? 2. Write a function that returns a copy of a particular element in a general list. (in both levels). 3. Write the function void JoinList(List *pl1, List *pl2) that copies all entries from l1 onto the end of l2 ; l1 remains unchanged, as do all the entries previously in l2 . The list l2 must be, at least, created. (inmust be, at least, created....
View Full Document

This note was uploaded on 01/06/2011 for the course CS 214 taught by Professor Waleeda.yousef during the Spring '10 term at Helwan University, Helwan.

Ask a homework question - tutors are online