Data Structures and Algorithms questions

Data Structures and Algorithms questions

I have assignment to solve a questions from the book and I did some of them .But I couldn’t do these questions.Can someone help me, please!

The questions are  numbers 21(only part A), 22, 25, 29.

Here is a PDF file of the questions 

New Document 16-Jun-2015 16-24-57.pdf