University of Nevada Las Vegas
Howard R. Hughes College of Engineering
Department of Computer Science
My Home Page
Course Page

Course Page

CSC 477/677 Assignment 2

Due Date: Monday, February 3, 2019, 8:30 AM.

All assignments must be handwritten (not typed or printed from a computer file) in your own handwriting, on 8.5 by 11 inch paper, or on A4 paper. Write your name on each sheet, and do not fold the pages or crimp the corners. (You may use a paper clip or a staple.)
Turn the pages in to me or to the graduate assistant on or before the due date.
  1. Work Problem 4.1 on page 139 of your textbook, Brassard and Bratley.
  2. Work Problem 4.2 on page 140 of your textbook.
  3. Work Problem 4.5 on page 140 of your textbook.
  4. Use amortized analysis to find the asymptotic time complexity of this code in terms of n. Express the answer using Θ notation.
    ``sqrt" means square root.

Back to Course Page